Bug 2505 - add strict and warnings to perlmodule_ls
authorDonovan Jones <donovan@catalyst.net.nz>
Mon, 19 Apr 2010 03:17:27 +0000 (15:17 +1200)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 21 Apr 2010 08:30:52 +0000 (20:30 +1200)
misc/perlmodule_ls.pl

index 6ffcc52..d381b6e 100755 (executable)
@@ -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";
 }