Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Answer: converting tiny binary strings for internet transmission

by Anonymous Monk
on Mar 29, 2002 at 07:54 UTC ( #155216=categorized answer: print w/replies, xml ) Need Help??

Q&A > strings > converting tiny binary strings for internet transmission - Answer contributed by Anonymous Monk

my $printable = unpack "H*", $string;
Or to UUencode as you mentioned in your question:
my $printable = unpack "u*", $string;

Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-12-03 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (52 votes). Check out past polls.