Help for this page

Select Code to Download


  1. or download this
    cmpthese( -2,{
     list => sub { &list },
     shiftit => sub { &shiftit },
    } );
    
  2. or download this
    use Benchmark 'cmpthese';
    cmpthese(1, { tryit => sub { $save = \@_ }});
    ...
                      $save = \@_;
                  }
            ];
    
  3. or download this
    cmpthese 3, { tryit => sub { push @save, [@_]; shift } };
    print Dumper \@save;
    ...
              ],
              []
            ];