7 |
BEGIN { |
BEGIN { |
8 |
use Exporter (); |
use Exporter (); |
9 |
use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); |
use vars qw ($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); |
10 |
$VERSION = 0.09; |
$VERSION = 0.10; |
11 |
@ISA = qw (Exporter); |
@ISA = qw (Exporter); |
12 |
#Give a hoot don't pollute, do not export more than needed by default |
#Give a hoot don't pollute, do not export more than needed by default |
13 |
@EXPORT = qw (); |
@EXPORT = qw (); |
87 |
my $len = read($self->{fh}, $leader, 24); |
my $len = read($self->{fh}, $leader, 24); |
88 |
|
|
89 |
if ($len < 24) { |
if ($len < 24) { |
90 |
carp "short read of leader, aborting\n"; |
warn "short read of leader, aborting\n"; |
91 |
|
$self->{count}--; |
92 |
last; |
last; |
93 |
} |
} |
94 |
|
|