Bug 2505 - add strict and warnings to perlmodule_ls

This commit is contained in:
Donovan Jones 2010-04-19 15:17:27 +12:00 committed by Chris Cormack
parent 1726a06253
commit 5647479f70
1 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
#!/usr/bin/perl
#use strict;
#use warnings; FIXME - Bug 2505
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";
my $version = $instmod->version($module) || "???";
print "$module -- $version\n";
}