in reply to More on hex pack/unpack
Egads - httptech is right - BBQs file is truncated at the first 0x1A character. Maybe using binmode() would be a good idea. I always use binmode whenever I open binary files, even on operating systems that don't claim to need it...
(0x1A is ^Z (EOF) under DOS, Win32 and the like and messes up reading from binary files, that's why you need binmode() for those files.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: More on hex pack/unpack
by Ovid (Cardinal) on Jun 26, 2000 at 22:28 UTC |