CGI Perl Programs

sinck@ugive.com sinck@ugive.com
Tue, 16 Jan 2001 08:26:50 -0700


\_ Hey Everyone-
\_ 
\_ I have been writing CGIs in C for some time now, but I would like to write
\_ a few scripts I am planning using Perl.  Can you tellme what the preferred
\_ CGI modules are for Perl.  i was looking at CPAN and there seems to be 5 or
\_ 6 different alternatives and I don't know which one is best.

use strict;
use CGI qw /:standard/;

is a good incantation to use.

If you seem to be doing something obvious (like escaping characters
and other typical HTML stuff) check for a particular module (eg:
URI::Escape).  Other modules have carved out niches since CGI is
heavy, but thorough.  

Also of interest is 

use LWP;

for writing your own happy web clients.

David