List installed perl modules script
- August 17th, 2007
- Posted in Documentation
- Write comment
Source: http://www.cpan.org/misc/cpan-faq.html
#!/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”;
}
No comments yet.