in reply to One-liner ascii/bin
What do you mean by bin?
There are many possible things you could mean, and they have very different answers. For instance you could be looking for an encryption module, of which there are several on CPAN. Or you might be looking for pack and unpack. If you are on Windows try this:
(Use single quotes on Unix.)perl -ne "print unpack("B*", $_)" input_file > output_file
You can reverse it with:
See pack, unpack, and perlrun for more.perl -ne "print pack("B*", $_)" input_file > output_file
In Section
Seekers of Perl Wisdom