Commit 1ca0fef0 authored by Max Kanat-Alexander's avatar Max Kanat-Alexander

Bug 560862: defined(%hash) is deprecated in Perl 5.12, so stop using it.

r=LpSolit, a=LpSolit
parent 271477d8
...@@ -276,10 +276,10 @@ EOT ...@@ -276,10 +276,10 @@ EOT
if (defined $$glob) { if (defined $$glob) {
$localconfig{$var} = $$glob; $localconfig{$var} = $$glob;
} }
elsif (defined @$glob) { elsif (@$glob) {
$localconfig{$var} = \@$glob; $localconfig{$var} = \@$glob;
} }
elsif (defined %$glob) { elsif (%$glob) {
$localconfig{$var} = \%$glob; $localconfig{$var} = \%$glob;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment