Ever wondered how to install a Perl module from CPAN: sudo perl -MCPAN -e 'install ModuleName'
Home » PostsPerl module installation - UbuntuA quick tip for Ubuntu: install a Perl module from CPAN in a single line with perl -MCPAN -e 'install ModuleName', run with sudo for a system-wide install.February 5, 2014 · 1 min · 16 wordsEver wondered how to install a Perl module from CPAN:sudo perl -MCPAN -e 'install ModuleName'