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_XS-
>parse didn't like (my designated escape character is backslash).
Returned $status == 0 and an empty column array. Short of
preprocessing the $text by globally substituting 0x0d for \r (and the
other common ones) and using CSV_XS's binary switch, is there a
better way to handle these escaped characters?
Chap
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>