Help for this page

Select Code to Download


  1. or download this
    local $/ = "";
    while (<>) {
       my ($station, %fields) = /(\S+)/g;
       print(join(' ', $station, @fields{qw( N E U )}), "\n");
    }
    
  2. or download this
    local $/ = "";
    while (<>) {
    ...
       my %fields = /(\S+)\s+([^\n]*)\n/g;
       print(join(' ', $station, @fields{qw( N E U )}), "\n");
    }