> Greetings!
Hello
>
> I'm trying to do some Perl for a non-profit organization.  The computer
> administrator doesn't know very much about Perl or about the server.
> If I were to ask him what Perl modules were available, he'd probably
> just have to call somebody else and get back to me.  Is there any way
> to use Perl to generate a list of such modules for me?
I was hoping to get some feedback on the following. Let me know what you
think.

#!/usr/bin/perl -w
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
 my $version = $instmod->version($module) || "???";
 print "$module -- $version\n";
}



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to