See perlfaq9.
Update: base64 and hex question
In reply to Re: need base64 utility in pure perl by ambrus in thread need base64 utility in pure perl by redss