summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-04-22 20:05:28 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-04-22 20:05:28 +0200
commit1ca0fef039a59342427d9e853a2d89ab6300c147 (patch)
treeb1c018659fbf89ba94a83f0a7f0d98f118ac9bbd
parent271477d8c26794abd8310e2abb89b746204660af (diff)
downloadbugzilla-1ca0fef039a59342427d9e853a2d89ab6300c147.tar.gz
bugzilla-1ca0fef039a59342427d9e853a2d89ab6300c147.tar.xz
Bug 560862: defined(%hash) is deprecated in Perl 5.12, so stop using it.
r=LpSolit, a=LpSolit
-rw-r--r--Bugzilla/Install/Localconfig.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Install/Localconfig.pm b/Bugzilla/Install/Localconfig.pm
index 346746655..d5d76cb79 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;
}
}