Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
            map { my $x = $code{ $_ }; $_ => sub { my @x = $x->( $n, \@val
    +ues ) } } keys %code
        };
    }
    
  2. or download this
        baseline => sub {
            my ( $n, $list ) = @_;
            return ( sort { $a <=> $b } @$list )[ @$list - $n .. $#$list ]
    +;
        },