Koha/misc/perlmodule_ls.pl
2010-04-21 20:30:52 +12:00

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";
}