X
xhoster
I'm having trouble using File::ReadBackwards on large files.
The problem is that the line:
my $read_size = $seek_pos % $max_read_size || $max_read_size ;
yields -1 when $seek_pos is large.
I've "solved" the problem by commenting out the line:
#use integer;
But I'm sure that "use integer" wasn't put there just be ornery, so now I
wonder what awful thing is going to happen because I commented it out.
Any thoughts?
Thanks,
Xho
The problem is that the line:
my $read_size = $seek_pos % $max_read_size || $max_read_size ;
yields -1 when $seek_pos is large.
I've "solved" the problem by commenting out the line:
#use integer;
But I'm sure that "use integer" wasn't put there just be ornery, so now I
wonder what awful thing is going to happen because I commented it out.
Any thoughts?
Thanks,
Xho