From 5647479f70e5cc822faecd1854dae2368d2611fa Mon Sep 17 00:00:00 2001 From: Donovan Jones Date: Mon, 19 Apr 2010 15:17:27 +1200 Subject: [PATCH] Bug 2505 - add strict and warnings to perlmodule_ls --- misc/perlmodule_ls.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/misc/perlmodule_ls.pl b/misc/perlmodule_ls.pl index 6ffcc528fd..d381b6ee62 100755 --- 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"; } -- 2.39.5