On Fri, 29 Jan 2010 10:55:42 -0500
ANJAN PURKAYASTHA <anjan.purkayas...@gmail.com> 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 { wanted 
=> sub { print canonpath $_ if /\.pm\z/ }, no_chdir => 1 }, @INC'



Owen


-- 
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