in reply to question:File to hash using map
Or
my %hash = map { chomp; split ',', $_, 2 } <$fh>;
After Compline,
Zaxo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: question:File to hash using map
by narashima (Beadle) on Jan 30, 2007 at 17:00 UTC | |
by liverpole (Monsignor) on Jan 30, 2007 at 17:12 UTC | |
by narashima (Beadle) on Jan 30, 2007 at 17:19 UTC |