Home Perl
List where perl is looking for its modules

perl -e'print join "\n", @INC'


List installed perl modules

perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'


Install perl module with cpan

perl -MCPAN -e 'install Archive::Tar'