Whenever this runs into the ascii character 0x1A Perl seems to interpret this as the end of the data and the string will not contain the entire contents of the file. How can I avoid this? --Johnlocal $/=undef; open FP, "<fileName" or die "Cannot open file!\n"; my( $myFile ) = <FP>; close FP;
In reply to Reading binary data by jy38
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |