Help for this page

Select Code to Download


  1. or download this
    my @topN = topN( $n, \@data );
    
    @topN = topN( $n, [ @topN, 
        grep{ chomp; $_ > $topN[ -1 ] } <>
    ] );
    
  2. or download this
    my @topN( $n, \@data );
    my @batch;
    ...
        }
        @topN( $n, [ @topN, @batch ] );
    }