pavement

Cpan

From FreeBSDwiki
Revision as of 13:19, 25 November 2008 by 66.83.151.234 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Perl has a module called CPAN with which one can install CPAN modules along with all of the modules they depend on. To invoke it type perl -MCPAN -e shell at the command line while being a super-user, and follow the instructions it gives you. The install command can be used to automatically install modules. You may also use the install command without needing to actually enter the shell; for example to install the module "Config::IniFiles" the following command works:

server# perl -MCPAN -e 'install Config::IniFiles' 

CPAN stands for Comprehensive Perl Archive Network. The collection of modules available via CPAN (along with the modules themselves, should you wish to attempt downloading them and installing them manually) can be found at http://cpan.org.

Personal tools