Help for this page

Select Code to Download


  1. or download this
     1: sub sort_top {
     2:     my($top, $func, @arr) = @_;
    ...
    15:     }    
    16:     return @top;    
    17: }
    
  2. or download this
    my @array = (8, 7, 1, 5, 4, 2, 10, 6, 9, 3);
    
  3. or download this
    my @top = (1, 7, 8);