Help for this page

Select Code to Download


  1. or download this
    @sorted = sort { surname($a) cmp surname($b) } @lines;
    
  2. or download this
    sub surname {
      my $line = shift;
    ...
      my ($first, $last) = split(/ /, $fullname);
      return $last;
    }