HOWTOlabs  
 Services     Software     Commentary     Design     Astral Musings   
perl
...
  printable 
scrummy perl bits ...  
Related
  • CPAN - recently introduced feature to download & install common modules from with perl
  • perltest.cgi - dead simple code example

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";


zap technologies