Hello.
Looking for some binary file help. I want to read, manipulate, and print (in ascii) a
binary file on a solaris 7 machine. I have looked into and tried the binmode()
function but this seems to be for older machines that differentiate between ascii and
binary files. I have tried the following and just get the binary form printed back
out at me (the expected result):
open(FILE, "mybinaryfile") || or die "error\n";
while(<FILE>){
print "$_\n";
}
When perl reads a binary file as above, does it understand what it is reading? How
can I print the file back out in ascii?
Thank you.
Tyler Cruickshank
UDAQ
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]