From d9c3a893353259c76f6c8083befdf6f401450d86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 23 Apr 2015 19:41:35 -0400 Subject: [PATCH] Tests: Don't rely on implicit scalar expression dereference MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This silences an "experimental feature" warning when using Perl 5.20.2. Signed-off-by: Jérémie Galarneau --- tests/utils/babelstats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/babelstats.pl b/tests/utils/babelstats.pl index 64a243fc8..53c85d4d0 100755 --- a/tests/utils/babelstats.pl +++ b/tests/utils/babelstats.pl @@ -118,7 +118,7 @@ sub print_fields_stats foreach my $field (keys %{$merged_ref->{$tracepoint}}) { my @sorted; - my @val = keys ($merged_ref->{$tracepoint}->{$field}); + my @val = keys %{$merged_ref->{$tracepoint}->{$field}}; if ($val[0] =~ /^\d+$/) { # Sort numerically -- 2.34.1