in reply to
Successful CSV reader?
You can use
Text::CSV_XS
from CPAN to read CSV files. I have used it in several projects and works fine!
Comment on
Re: Successful CSV reader?
Replies are listed 'Best First'.
Re^2: Successful CSV reader?
by
SineSwiper
(Beadle)
on Apr 26, 2005 at 10:08 UTC
The problem with that module that I've found is that there's no code to handle multi-line strings. It's designed around parsing one line at a time, but what if that line is part of a multi-line? Didn't find one that did handle it, so I wrote my own.
[reply]
Re^3: Successful CSV reader?
by
salva
(Canon)
on Apr 26, 2005 at 11:07 UTC
Text::CSV_XS has a binary mode that allows for binary data (including newline chars) inside quotes. Have you tried it?
[reply]
In Section
Seekers of Perl Wisdom