perl base64 encode with url safe characters
<p>In a perl script I am using base64 to encode a string , but I want the output to be URL safe
Base64 includes chars like / or + which get converted in an URL</p>

<p>How can I avoid this ? </p>