in reply to Re^2: How can I group lines in a file?
in thread How can I group lines in a file?
to test, add before the ifwhile( <$fh> ){ if(/(\S+)\s+(\S+)/){ push @{ $HoA{ $1 } }, $2; } }
warn 'scalar ', /(\S+)\s+(\S+)/; warn 'list ', join '|', /(\S+)\s+(\S+)/;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How can I group lines in a file?
by Anonymous Monk on May 17, 2009 at 04:32 UTC | |
|
Re^4: How can I group lines in a file?
by bichonfrise74 (Vicar) on May 17, 2009 at 06:05 UTC | |
by BrowserUk (Patriarch) on May 17, 2009 at 07:00 UTC |