If the file is binary, you should add:
right after the open. Also the line:binmode MYFILE;
should read:if ($byte > 0x30) {
if (ord($byte) > 0x30) {
In reply to Re^2: BIN to HEX
by eyepopslikeamosquito
in thread BIN to HEX
by drip
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |