How to Display Installed Perl Modules
erics, Posted September 29th, 2009 at 2:11:20am
[code lang=”perl”]
#!/bin/perl
use ExtUtils::Installed;
my $instmod = ExtUtils::Installed->new();
foreach my $module ($instmod->modules()) {
my $version = $instmod->version($module) || "???";
print "$module — $version\n";
}
[/code]
Leave Your Comment
All fields marked with "*" are required.