There are several common problems faced by CGI programmers: failing gracefully, creating valid URLs from any text, using a template to insert variables into HTML, sending email based on CGI parameters, et cetera. Since these problems are so common, people have written modules to solve them. This section explains some of the most useful modules to save you from having to re-invent the wheel.
Each of these modules can be downloaded from CPAN (the Comprehensive Perl Archive Network) and installed either using the CPAN module distributed with Perl, or by following the steps described in the README file distributed with each module.