in reply to
converting tiny binary strings for internet transmission
my $printable = unpack "H*", $string;
Or to UUencode as you mentioned in your question:
my $printable = unpack "u*", $string;
Comment on
Re: converting tiny binary strings for internet transmission
Select
or
Download
Code
In Section
Seekers of Perl Wisdom