You need to call binmode after you open the file
open(IN,'<','filename') or die "$!"; binmode IN;
In reply to Re^3: Missing byte using unpack, pack, read(in terms of bytes)
by RichardK
in thread Missing byte using unpack, pack, read(in terms of bytes)
by joemaniaci
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |