in reply to File splitting script
It's probably unrelated to the error, but you should binmode the output file as well if you binmode the input file.
Also, for simple splitting of a file to chunks, it might be easier to use the split program from coreutils.
|
|---|