public
Created

List the installed modules from cpan #perl #cpan #utils

  • Download Gist
gistfile1.sh
Shell
1 2 3
#
# List the installed modules from cpan
alias list_installed_cpan_modules="perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { if (/\.pm\z/) { s{^.+site_perl\/[\.0-9]+\/}{}; s{\/}{::}g; s{\.pm$}{}; print } }, no_chdir => 1 }, grep /site_perl/, @INC' | sort -u"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.