28 Mar

If you are getting a ‘Can’t locate CPAN.pm in @INC’ error while opening cpan, you have not installed Bundle::Cpan. You can do that without Cpan – using yum


yum install perl-CPAN

22 Apr

Install Perl modules on a linux system – must be connected to the net

perl -MCPAN -e shell

If CPAN is not installed use this command to install it in a RedHat/Fedora system.

yum install perl-CPAN

If you are doing this for the first time, there will be a configuration procedure.

install XML::Parser

## Some recommended Modules

DBI
DBD::mysql
MIME::Lite
MIME::Words
Compress::Zlib
MIME::Base64
URI::URL
HTML::Tagset
HTML::Parser
LWP::Simple
GD
RPC::XML
SOAP::Lite