12 lines
247 B
Perl
Executable file
12 lines
247 B
Perl
Executable file
#!/usr/bin/perl
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use ExtUtils::Installed;
|
|
|
|
my $instmod = ExtUtils::Installed->new();
|
|
foreach my $module ($instmod->modules()) {
|
|
my $version = $instmod->version($module) || "???";
|
|
print "$module -- $version\n";
|
|
}
|