in reply to
Insert URL Encoding
the excellent module CGI::Enurl; will also accomplish such a task.
Comment on
another way...
In Section
Seekers of Perl Wisdom