Dan Linder wrote:
I'm working on a project that will pull in data from CSV files. The old version of the program does all the CSV processing itself (i.e. split(/,/, $line).
search.cpan.org for "csv" has lots of hits. :) I've used Text::CSV in the past. To quote Text::CSV::Simple http://search.cpan.org/~tmtm/Text-CSV-Simple-1.00/lib/Text/CSV/Simple.pm"Parsing CSV files is nasty. It seems so simple, but it usually isn't. Thankfully Text::CSV_XS takes care of most of that nastiness for us.
Like many modules which have to deal with all manner of nastiness and edge cases, however, it can be clumsy to work with in the simple case.
Thus this module." So perl -MCPAN -e 'install Text::CSV::Simple' ? HTH, j