On Fri, 29 Jan 2010 10:55:42 -0500
ANJAN PURKAYASTHA <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/