I would focus on finding out why some CSV files are being made wrong. An
entire line shouldn't be enclosed in its own quotes. Fixing the problem at
that end would eliminate the need to do clean up after the fact.
At 03:42 PM 5/23/05 -0500, Michael D Schleif wrote:
>How can I optimize this sub-ro
I have an ongoing stream of CSV files of varying lengths (some quite
long), and of various CSV formats. I am using Text::CSV_XS to parse the
records; which works except in that case where the incoming file
surrounds each RECORD with double-quotes.
I find this to be aberrant behaviour. How can I