Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Answer: converting tiny binary strings for internet transmission

( #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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-07-28 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What is your favorite alternate name for a (specific) keyboard key?


















    Results (259 votes). Check out past polls.