in reply to Re: How to eliminate text portion of a binary file?
in thread How to eliminate text portion of a binary file?
... you don't want to be reading it with angle brackets (<>) because you don't know if there are ANY new line characters in the part of the file after the headers
Unless of course you set $/ to a reference to a scalar value containing the number of bytes you want to read each time, in which case it'll work just fine and return that many bytes each read newlines or no.
|
|---|