[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Omaha.pm] pm lister
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@pm.org [mailto:omaha-pm-bounces@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@metc.net |
\======================================/
_______________________________________________
Omaha-pm mailing list
Omaha-pm@pm.org
http://mail.pm.org/mailman/listinfo/omaha-pm