projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1726a06
)
Bug 2505 - add strict and warnings to perlmodule_ls
author
Donovan Jones
<donovan@catalyst.net.nz>
Mon, 19 Apr 2010 03:17:27 +0000
(15:17 +1200)
committer
Chris Cormack
<chrisc@catalyst.net.nz>
Wed, 21 Apr 2010 08:30:52 +0000
(20:30 +1200)
misc/perlmodule_ls.pl
patch
|
blob
|
history
diff --git
a/misc/perlmodule_ls.pl
b/misc/perlmodule_ls.pl
index
6ffcc52
..
d381b6e
100755
(executable)
--- a/
misc/perlmodule_ls.pl
+++ b/
misc/perlmodule_ls.pl
@@
-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";
}