Re: listing all modules

2010-01-29 Thread Kenneth Wolcott
Hi; I must have found this somewhere on this mailing list or somewhere else. I wish I could give credit to who derived it. perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find { wanted => sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC' Hope it helps, Ken Wolcott On Fri, J

Re: listing all modules

2010-01-29 Thread Owen
On Fri, 29 Jan 2010 10:55:42 -0500 ANJAN PURKAYASTHA wrote: > Hi, > Is there a command that lists all installed perl modules in my .cpan > directory? This one liner lists all your installed modules (original source lost in antiquity) # perl -MFile::Find=find -MFile::Spec::Functions -Tlwe 'find

Re: listing all modules

2010-01-29 Thread ANJAN PURKAYASTHA
Instmodsh worked beautifully. Thanks! Anjan On Fri, Jan 29, 2010 at 11:08 AM, Jeremiah Foster < jerem...@jeremiahfoster.com> wrote: > > I googled this question, here is the results of my clicking on the first > link that came up: > > "This is answered in the Perl FAQ, the answer which can be quic

Re: listing all modules

2010-01-29 Thread Jeremiah Foster
I googled this question, here is the results of my clicking on the first link that came up: "This is answered in the Perl FAQ, the answer which can be quickly found with perldoc -q installed. In short, it comes down to using ExtUtils::Installed or using File::Find, variants of both of which ha