How to use CPAN to install the modules: - Perl Views : 273
Tagged in : Perl
Send mail vote down 0 vote down 0
From the root prompt on your server, invoke the CPAN shell:

# perl -MCPAN -e shell

Once the Perl interpreter has loaded (and been configured), you can install modules with: install MODULENAME.

The first thing you should do is upgrade your CPAN:

cpan> install Bundle::CPAN

Once it is completed, type:

cpan> reload cpan

Now, enter the following command to retrieve all of the required modules:

cpan> install DateTime
cpan> install MIME::Lite

By - Nithya, On - 2010-01-27




    Login to add Comments .