Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Embed URL


Subversion checkout URL

You can clone with
Download ZIP
List the installed modules from cpan #perl #cpan #utils
# 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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.