http://www.perlmonks.org?node_id=358766

# auto update all installed cpan modules
perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'