[Omaha.pm] pm lister

Sean Baker pbaker at omnihotels.com
Tue Aug 16 15:20:02 PDT 2005


I don't know if this will help or not:

#!/usr/bin/perl
use File::Find;
find(\&wanted, @INC);
sub wanted { /\.p[m]$/ && print "$File::Find::name\n" }

A deja.com search returns gobs of other useless information....

For dependencies and Perl packages, I like to use perl -MCPAN because it
automagically installs all of the dependencies for you..... you can
always try that.

0> perl -MCPAN -e 'shell'
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install Some::Module



-----Original Message-----
From: omaha-pm-bounces at pm.org [mailto:omaha-pm-bounces at pm.org] On Behalf
Of Noel Leistad
Sent: Tuesday, August 16, 2005 4:31 PM
To: Perl Mongers of Omaha, Nebraska USA
Subject: [Omaha.pm] pm lister

Overrun by laziness, inability to form "search phrase" (that works)

something about reading @INC?? maybe I'm completely twisted.

Anybody got a small script that lists installed perl modules. Attempting

a postgrey rpm install, get TONS of grief about dependancies for modules

I'm fairly certain are installed.

Many thanks.



-- 
/======================================\
| Noel Leistad                         |
| noel at metc.net                        |
\======================================/

_______________________________________________
Omaha-pm mailing list
Omaha-pm at pm.org
http://mail.pm.org/mailman/listinfo/omaha-pm



More information about the Omaha-pm mailing list