]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 560862: defined(%hash) is deprecated in Perl 5.12, so stop using it.
authorMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 22 Apr 2010 18:06:10 +0000 (11:06 -0700)
committerMax Kanat-Alexander <mkanat@bugzilla.org>
Thu, 22 Apr 2010 18:06:10 +0000 (11:06 -0700)
r=LpSolit, a=LpSolit

Bugzilla/Install/Localconfig.pm

index 34674665590a7f09df78b51d78b3f212f6ecc579..d5d76cb799b685f98e67f7683f725bca9f391c6a 100644 (file)
@@ -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;
             }
         }