thealienz1 has asked for the wisdom of the Perl Monks concerning the following question:
open(INFILE, "test.txt"); binmode(INFILE); $filecontent = join('',<INFILE>); for($x = 0; $x<length($filecontent); $x+=8) { print pack('B8',substr($filecontent,$x,8)); } close(INFILE);
Any suggestions on why it is not working...
I am the first overweight, very tall munchkin... be very amazed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Binary file trouble
by Fastolfe (Vicar) on Nov 08, 2000 at 21:21 UTC |