Take a look at Text::CSV_XS. Things should be fairly obvious from that point on (hint: to add an element to an array reference you can use
push @{$hash{"Name"}}, $field[0];)
In reply to Re: Read the csv file to a hash....
by tirwhan
in thread Read the csv file to a hash....
by isha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |