The first thing that occurs to me is that you are reading a binary file as if it were a text file. If any of the binary codes in the input file use the end of line characters (0x0A and 0x0D), you will end up reading the wrong thing.
What platform are you running on? Windows does have the issue of the EOF character (ctrl-Z), but IO::Uncompress::AnyUncompress should ignore that.
Any chance you could upload a data file, or better still the part of the file that doesn't work properly? Not sure if this site allow posting of binary files though.
In reply to Re: File read stopping prematurely
by pmqs
in thread File read stopping prematurely
by Ineffectual
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |