the script should read that and parse it, so it gets the column names from the .csv file rather than hardcoding Name and Comment.<$fh>; # Drop column names on the floor
Apart from that, that works very nicely, and Text::CSV_XS is much more robust than my //g approach above.
In reply to Re^2: Read the csv file to a hash....
by RMGir
in thread Read the csv file to a hash....
by isha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |