Short script to find modules installed

#!/usr/local/bin/perl

use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
       print "$module -- $version\n";
}



-----Original Message-----
From: Bob Showalter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 06, 2005 8:52 AM
To: 'Muthukumar'; beginners@perl.org
Subject: RE: How to find out what are modules included in perl

Muthukumar wrote:
> Hi,
> 
> How to find out the modules included in perl?

To show the "core" modules included with a given Perl version:

   perldoc perlmodlib

To show locally installed additional modules:

   perldoc perllocal

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to