CGI Perl Programs

Inizio della pagina
Allegati:
Messaggio come e-mail
+ (text/plain)
Delete this message
Reply to this message
Autore: sinck@ugive.comsinckugive.com
Data:  
Oggetto: CGI Perl Programs

\_ 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