|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: CSV Parser, with and without encapsulationby Tux (Prior) |
| on Oct 25, 2012 at 08:14 UTC ( #1000785=note: print w/ replies, xml ) | Need Help?? |
|
The "best" is of course Text::CSV_XS :) Text::CSV is just a wrapper over Text::CSV_XS and/or Text::CSV_PP. If your CSV data is mixed and invalid, chances are that you might not find a combination of options that will work on all records, but a good start for what you describe would be something like:
Please carefully read the manual for all allow_*** options. Enjoy, Have FUN! H.Merijn
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||