From: Max Kanat-Alexander Date: Thu, 22 Apr 2010 18:06:10 +0000 (-0700) Subject: Bug 560862: defined(%hash) is deprecated in Perl 5.12, so stop using it. X-Git-Tag: bugzilla-3.6.1~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36d949775789685d200570a2df85995a98f151f4;p=thirdparty%2Fbugzilla.git Bug 560862: defined(%hash) is deprecated in Perl 5.12, so stop using it. r=LpSolit, a=LpSolit --- diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm index 3467466559..d5d76cb799 100644 --- a/Bugzilla/Install/Localconfig.pm +++ b/Bugzilla/Install/Localconfig.pm @@ -276,10 +276,10 @@ EOT if (defined $$glob) { $localconfig{$var} = $$glob; } - elsif (defined @$glob) { + elsif (@$glob) { $localconfig{$var} = \@$glob; } - elsif (defined %$glob) { + elsif (%$glob) { $localconfig{$var} = \%$glob; } }