Chapter 12. USING PERL'S BUILT-IN CGI LIBRARY

Introducing the Built-In CGI Library

Perl has a built-in CGI library that has been a standard part of the Perl distribution since 1998. Countless Perl CGI developers have used it to quickly develop CGI scripts to handle mundane tasks such as parsing parameters, reading and writing cookies, and generating HTML tags and forms.

Even though the module is still under active development, many developers consider the CGI library to be outdated in the way it handles some tasks. While there are now better modules available that you can use to generate static HTML tags and forms, the real strength of the CGI library is in its ability to translate raw incoming CGI data into Perl variables and functions.

The CGI ...

Get Perl and Apache: Your visual blueprint for developing dynamic Web content now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.