From: Ævar Arnfjörð Bjarmason Date: Wed, 21 Apr 2010 00:07:54 +0000 (+0000) Subject: Don't re-declare lexical variable X-Git-Tag: live~6371^2~10 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c377932312e66606baa8918275dc3bf2814ada53 Don't re-declare lexical variable --- diff --git a/script/misc/update-wiki-pages b/script/misc/update-wiki-pages index f6348b625..f5f0ccb5e 100644 --- a/script/misc/update-wiki-pages +++ b/script/misc/update-wiki-pages @@ -60,7 +60,7 @@ for my $lang ('', map { "${_}:" } qw[ Pt Fi De It HU Cz Fr RU Pl ]) { # Value pages ok(1, " Getting value pages"); - my $cnt = stick_content_in_hash("tag", "Template:${lang}ValueDescription", \%feature); + $cnt = stick_content_in_hash("tag", "Template:${lang}ValueDescription", \%feature); ok(1, " Got $cnt value pages"); $count{value} += $cnt; }