Entry
How do I install new modules from CPAN?
Jun 16th, 2001 06:40
Per M Knutsen, http://www.cpan.org
Installing new modules is easy using the CPAN module that comes with
the standard Perl distribution.
To use the CPAN module, type (at command line):
% perl -MCPAN -e "shell"
CPAN will query you with instructions on how to retrieve files. After
CPAN is configures you can install new modules by typing from within
the CPAN shell:
install Some::Module
Rather than installing from within the CPAN module, you can run the
entire process from your command line with the command:
% perl -MCPAN -e "install 'Some::Module'"