in reply to Re: How can I group lines in a file?
in thread How can I group lines in a file?
I broke the line into 3 parts (split, push and the reading the file) and I understand what each part does but what I don't understand is why it worked./(\S+)\s+(\S+)/ and push @{ $HoA{ $1 } }, $2 while <$fh>;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How can I group lines in a file?
by Anonymous Monk on May 17, 2009 at 04:31 UTC | |
by Anonymous Monk on May 17, 2009 at 04:32 UTC | |
by bichonfrise74 (Vicar) on May 17, 2009 at 06:05 UTC | |
by BrowserUk (Patriarch) on May 17, 2009 at 07:00 UTC |