4606. [port] Stop using experimental "Experimental keys on scalar"

feature of perl as it has been removed. [RT #45012]

(cherry picked from commit a14562e120)
This commit is contained in:
Mark Andrews
2017-04-24 11:17:18 +10:00
parent 9b9b0d5962
commit 9689922a0d
5 changed files with 14 additions and 11 deletions

View File

@@ -14,7 +14,7 @@ use XML::Simple;
my $ref = XMLin("xml.stats");
my $counters = $ref->{server}->{counters};
foreach $group (@$counters) {
foreach $key (keys $group->{counter}) {
foreach $key (keys %{$group->{counter}}) {
print $group->{type} . " " . $key . ": ". $group->{counter}->{$key}->{content} . "\n";
}
}