Page 1 of 1

Install Perl modules from CPAN

Posted: Thu Oct 16, 2008 4:03 pm
by cah
Using CPAN Interactive shell

This method connects to CPAN via internet and retrieves the perl modules you specify and then creates the Makefile, compiles, run the test(s) and finally installs for you.

Code: Select all

    % perl -MCPAN -e shell
    cpan> install CGI::Session
Using Makefile.PL

If you decide to get the source packages manually, you can run the following steps manually to have the first-hand experience for each step.

Code: Select all

    % perl Makefile.PL
    % make
    % make test
    % make install