http://www.perlmonks.org?node_id=996202


in reply to URL white space issues

If you want to remove all the spaces, you need no module. Just use substitution:
$url =~ s/%20//g;
If you want to remove only certain spaces, please specify how to recognise them.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ