HOWTOlabs Perl
...

Related

Elsewhere

Scrummy perl bits ...

CPAN

Recently the perl folks have organized a distrubuted network of servers to offer a growing set of perl modules for download. CPAN is a perl (naturally) interface for interacting with this network to download and install modules from this network.

Examples:
# perl -MCPAN -e shell

  cpan> install DBI
  cpan> install DBD/mysql
  cpan> quit

# perl -MCPAN -e 'install DBD::mysql'
Sometimes cpan can be run directly. It should prompt for some configuration information first time it is run. If it gets out of sorts, you can force ti to procmpt for configuration information by removed the file .../CPAN/Config.pm

perltest.cgi

#!/usr/bin/perl

print "Content-type:text/html\n\n";
print "perl cgi test";