Install Perl modules from CPAN
Posted: Thu Oct 16, 2008 4:03 pm
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.
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.
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
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