Perl CPAN HowTo How to install new modules: perl -MCPAN -e 'install <module>' Examples: perl -MCPAN -e 'install Net::DNS' perl -MCPAN -e 'install Net::hostent' How to upgrade the whole CPAN setup: perl -MCPAN -e "upgrade /(.\*)/"