Help for this page

Select Code to Download


  1. or download this
    >perl -MData::Dumper -e"grep { 0 } @h{qw(a b)}; print Dumper \%h;"
    $VAR1 = {
              'a' => undef,
              'b' => undef
            };
    
  2. or download this
    my @defined_values = map $benchmarks{$_},
                         grep defined($benchmarks{$_}),
                         @BASELINES;
    
  3. or download this
    my @defined_values = map $benchmarks{$_},
                         grep exists($benchmarks{$_}),
                         @BASELINES;