O'Reilly logo

Perl for Web Site Management by John Callender

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Invoking CGI.pm

After the configuration section of the script comes the following line:

use CGI qw(:standard);

This is where you work the CGI.pm magic. In effect, what you are doing with this line is adding a whole bunch of prewritten Perl code to your script. That code arrives in the form of some new functions that your script now has access to for doing various CGI-related things. As I mentioned earlier, I’m not going to explain that process in detail here. In a few minutes, though, you’ll see how easy this makes it to process the submitted form elements received by the script.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required