Its a reasonably simple thing to fix for compatibility with older and newer versions:
--- lib/Benchmark/Chart.pm.old 2014-09-16 02:38:35.197396353 +1200
+++ lib/Benchmark/Chart.pm 2014-09-16 02:39:13.400263893 +1200
@@ -155,7 +155,7 @@
my $max = 0;
my @y;
- for my $key ( keys $b ) {
+ for my $key ( keys %{$b} ) {
$cases{$key}->{$name} = $self->_calculateRate( benchmark => $b->{$key} );
if ( $cases{$key}->{$name} > $max ) {
$max = $cases{$key}->{$name};
@@ -163,7 +163,7 @@
}
if ( $self->{uniform} && $max > 0) {
- for my $key ( keys $b ) {
+ for my $key ( keys %{$b} ) {
$cases{$key}->{$name} = $cases{$key}->{$name} / $max * 100;
}
}