When you do an unpack "u", you are only going to get _one_ string out. If you print $dataU[0]; you will see that it contains all the lines from your original file concatenated, with newlines still included.
You still haven't explained why you want binary. What do you think the advantage is?
In reply to Re: Re: Re: Writing Out Binary Files
by Thelonius
in thread Writing Out Binary Files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |