On Jul 20, 2006, at 1:30 AM, Todd W wrote:
Theres also Text::CSV_XS which is configurable (and faster than
Text::CSV).
Specifically, note the quote_char and escape_char arguments to the
constructor...
So there is - thanks!
I discovered that one record has a field containing \r, which CSV_
"Chap Harrison" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> I'm looking for a module or a perl code snippet to parse optionally-
> quoted, comma-separated values.
>
> The most obvious candidate, Text::CSV, won't do the job for two reasons:
>
> -- it only recognizes doub
Hi,
I'm looking for a module or a perl code snippet to parse optionally-
quoted, comma-separated values.
The most obvious candidate, Text::CSV, won't do the job for two reasons:
-- it only recognizes double-quotes as the quote character. My input
uses single-quotes.
-- including the quote