in reply to Re^3: Text::CSV_XS read from line X
in thread Text::CSV_XS read file from line X

Thanks Tux,

The entire file is read and pushed in the array if I turn on allow_loose_quotes. Gives me another option! Probably should have picked up on that myself.

Does allowing loose quoting mean there might be a greater risk of something going astray?

Replies are listed 'Best First'.
Re^5: Text::CSV_XS read from line X
by Tux (Canon) on Jan 04, 2011 at 11:48 UTC

    Not if the data is consistently doing this. It would not be strict CSV policy, but there are a zillion formats that look like but in fact break strict CSV definition. Text::CSV_XS has been stuffed with options to accommodate for all these varieties.


    Enjoy, Have FUN! H.Merijn