in reply to
printing text to a file in binary
Look for
binmode
and
pack
in the perldoc. That way you can save the text as binary. However I am not sure if it also causes the line breaks to be restored.
Cheers,
PerlingTheUK
Comment on
Re: printing text to a file in binary
Select
or
Download
Code
In Section
Seekers of Perl Wisdom