in reply to Parsing CSV into a hash
You might like to replace you inner while loop with:
$data->{$user}{$_} = shift @userdata for (@fields);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing CSV into a hash
by McDarren (Abbot) on Sep 19, 2005 at 22:05 UTC | |
by GrandFather (Saint) on Sep 19, 2005 at 22:30 UTC |