Some relevant details...
If DOS/Windows encounters chr(26) in a text file, it considers that the end of the text file. binmode does not treat chr(26) specially. However, \r\n are not converted to \n in binmode. You may want to set $/ to "\015\012".
In reply to Re^3: Problems with binary data in text documents
by ikegami
in thread Problems with binary data in text documents
by omadawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |