I should then be able to pull the binary data from that file, or execute it if it was an executable. However, the above code segment produces a file that is much larger than the original.open(FH,"file.exe"); binmode(FH); my $binary; while(<FH>) { $binary .= $_; } close(FH); open(FH,">newfile"); print FH $binary; close(FH);
In reply to Binary Data by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |