Monday, January 07, 2008

Manually install Perl modules with CPAN.pm

From your shell run

$> perl -MCPAN -e shell

command, it will ask you a few questions. Answer the questions, which are the basic settings for the local installation directory. You can set it up to a local directory within your home directory. Then simply type the following to install any module.

$> install Date

will install the latest Date module for Perl.

For further details see CPAN web site

No comments: