Help for this page

Select Code to Download


  1. or download this
    sub property {
      my $loc = ( split /,\s+/, $_[ 0 ] )[ 1 ];
      $loc =~ /^S\d+H(\d+)$/;
      return $1;
    }
    
  2. or download this
    my @sorted =
      map  { $_->[0] }
      sort { $a->[1] <=> $b->[1] }
      map  { [ $_, property( $_ ) ] }
      @unsorted;