in reply to Binary file trouble
Your code is basically reading 8 BYTES at a time, and trying to pack this string further. You probably want to be using unpack against each character/byte of the string.
Either way, Data::HexDump will solve the problem you're apparently trying to solve. Good luck.print join(" ", unpack('c*', $string));
|
|---|