From: Max Kanat-Alexander Date: Thu, 22 Apr 2010 18:05:28 +0000 (-0700) Subject: Bug 560862: defined(%hash) is deprecated in Perl 5.12, so stop using it. X-Git-Tag: bugzilla-3.7.1~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ca0fef039a59342427d9e853a2d89ab6300c147;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; } }