Are you using Win32, perhaps cygWin with some of the files being handled in text mode instead of binary mode? Does doing binmode() on the filehandles make a difference?
Unrelated possible bug: Are you trying to throw away $config->{startblock} blocks at the start of the input file? Because you are throwing away $config->{startblock} bytes!
In reply to Re: Unexpected File Results
by Util
in thread Unexpected File Results
by Grundle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |