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, Jan 29, 2010 at 08:08, 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 quickly found
> with perldoc -q installed. In short, it comes down to using
> ExtUtils::Installed or using File::Find, variants of both of which have been
> covered previously in this thread.
>
> You can also find the FAQ entry "How do I find which modules are installed
> on my system?" in perlfaq3. You can see a list of all FAQ answers by looking
> in perlfaq."
>
> Credit should be given to brian d. foy and pjf for the answer above.
>
>
>
> Jeremiah
>
>
>
> On Jan 29, 2010, at 4:55 PM, ANJAN PURKAYASTHA wrote:
>
> > Hi,
> > Is there a command that lists all installed perl modules in my .cpan
> > directory?
> > TIA,
> > Anjan
> >
> > --
> > =============================
> > anjan purkayastha, phd                     *
> > research associate                            *
> > fas center for systems biology,          *
> > harvard university                              *
> > =============================
>
>
> --
> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
> For additional commands, e-mail: beginners-h...@perl.org
> http://learn.perl.org/
>
>
>

Reply via email to