From: Ben Bullock on
On Mon, 14 Apr 2008 18:03:02 -0700, PerlFAQ Server wrote:

> 9.10: How do I decode or create those %-encodings on the web?
>
> If you are writing a CGI script, you should be using the CGI.pm
> module that comes with perl, or some other equivalent module. The
> CGI module automatically decodes queries for you, and provides an
> escape() function to handle encoding.

This only deals with CGI scripts, but one might need to create a URI
encoding even when one is not writing a CGI script. Perhaps this FAQ
should mention the URI::Escape module too.