Wednesday, June 25, 2008

List all the installed perl modules

We often need to know all the perl modules installed on a box. One below is the solution

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

cheers, make world open

0 Comments:

Post a Comment

<< Home