Help for this page

Select Code to Download


  1. or download this
    for (sort third_field <INPUT>) {
      print "Record: $_";
    }
    ...
      my $y = (split ' ', $b)[2];
      $x <=> $y;
    }
    
  2. or download this
    for (by_third_field <INPUT>) {
      print "Record: $_";
    }
    ...
      map { [ $_, split ] }
      @_;
    }