You can use CGI::encode(), or roll your own via
($encoded = $body) =~ s/([^a-zA-Z0-9_.-])/uc sprintf("%%%02x",ord($1))/eg;
In reply to Re: uuencoding to deal with line breaks
by dws
in thread uuencoding to deal with line breaks
by epoptai
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |