Tuesday, August 10, 2010

[PERL CPAN] Missing Perl Module... install by CPAN

it's an old thing still several users are unaware, so a quickie howto for all of them

[PERL CPAN] whenever any perl module found missing

CPAN is Comprehensive Perl Archive Network, a cool place to install Perl Modules instead of keep searching
---------------------------------------------------

you can simple install it as
"perl -MCPAN -e "install "
e.g.
#perl -MCPAN -e "install Net::CIDR"

if it's giving error and asking a force install, most probably a depending module isn't present
so install that first, or if you still wanna install it do a FORCE install
e.g.
#perl -MCPAN -e "CPAN::Shell->force(qw(install Net::CIDR))"

No comments: