Read about this question in perldoc perlfaq9.
In reply to Re: base64 and hex question by ambrus in thread base64 and hex question by zakzebrowski