On Fri, 17 Sep 2010 14:31:15 -0400, "Evan Carroll via RT"
<bug-Text-CSV_XS@rt.cpan.org> wrote:
Show quoted text> I've noticed this too, moreover, quote_null doesn't do it either (though
> I would think it would quote undef, and \0
No, quote_null has NOTHING to do with the <undef> value. The NULL it
refers to doesn't come from DBI land, where a database NULL value is
represented as undef.
with quote_null being true,
->print ($fh, [ 1, "\0", undef ]);
will print
1,""0",
and with quote_null being false, it will print
1,"",
with a \0 between the quotes
The undef value will never be quoted
--
H.Merijn Brand
http://tux.nl Perl Monger
http://amsterdam.pm.org/
using 5.00307 through 5.12 and porting perl5.13.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/