55 |
|
|
56 |
=cut |
=cut |
57 |
|
|
58 |
my $subfields = { |
our $subfields = { |
59 |
'CR' => sub { |
'CR' => sub { |
60 |
my $full_cr = shift; |
my $full_cr = shift; |
61 |
my @v = split(/, /, $full_cr); |
my @v = split(/, /, $full_cr); |
110 |
chomp($line); |
chomp($line); |
111 |
next unless $line eq 'ER'; |
next unless $line eq 'ER'; |
112 |
push @{ $self->{record_offset} }, tell($fh); |
push @{ $self->{record_offset} }, tell($fh); |
113 |
last if $#{ $self->{record_offset} } > $self->{offset} + $self->{limit}; |
last if $self->{limit} && $#{ $self->{record_offset} } >= $self->{limit} - 1 + $self->{offset}; |
114 |
} |
} |
115 |
push @{ $self->{record_offset} }, tell($fh); # end of file |
push @{ $self->{record_offset} }, tell($fh); # end of file |
116 |
|
|