Skip to content

Commit

Permalink
Tests: Don't rely on implicit scalar expression dereference
Browse files Browse the repository at this point in the history
This silences an "experimental feature" warning when using Perl 5.20.2.

Signed-off-by: Jérémie Galarneau <[email protected]>
  • Loading branch information
jgalar committed Apr 23, 2015
1 parent 94ffb05 commit d9c3a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/babelstats.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d9c3a89

Please sign in to comment.