in reply to Binary file I/O problem

binmode

Update: Then read and write, or sysread and syswrite

Replies are listed 'Best First'.
Re^2: Binary file I/O problem
by DavidZ (Initiate) on Oct 11, 2013 at 19:27 UTC
    Thanks for the help. I've got Unix in my brain so much that I forgot about the oddities of DOS line delimiters. I did a quick study of file copy time in seconds as a function of batch size. Except for extreme values of batch size, most any batch size works nicely.