Help for this page

Select Code to Download


  1. or download this
    sub arrarycomp {
      my ($x, $y) = @_;
    ...
    }
    
    @out = sort {arrarycomp($a, $b)} @in;
    
  2. or download this
    my @in = (
            [ "The Cat", "G", "F", "H", "J" ],
    ...
    );
    
  3. or download this
    $VAR1 = [
              'The',
    ...
              'H',
              'J'
            ];