Skip Menu |

This queue is for tickets about the Text-CSV CPAN distribution.

Report information
The Basics
Id: 118329
Status: resolved
Priority: 0/
Queue: Text-CSV

People
Owner: Nobody in particular
Requestors: jidanni [...] jidanni.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: not all defaults concisely listed
Date: Tue, 11 Oct 2016 19:13:02 +0800
To: bug-Text-CSV [...] rt.cpan.org
From: 積丹尼 Dan Jacobson <jidanni [...] jidanni.org>
On the (Debian) man page, quote_binary By default, all "unsafe" bytes inside a string cause the combined field to be quoted. By setting this attribute to 0, you can disable that trigger for bytes >= 0x7f. is missing from $csv = Text::CSV->new (); is equivalent to $csv = Text::CSV->new ({ quote_char => '"', escape_char => '"', sep_char => ',', eol => $\, always_quote => 0, quote_space => 1, quote_null => 1, binary => 0, decode_utf8 => 0, keep_meta_info => 0, allow_loose_quotes => 0, allow_loose_escapes => 0, allow_whitespace => 0, blank_is_undef => 0, empty_is_undef => 0, verbatim => 0, auto_diag => 0, }); And there are perhaps more items missing too. In fact they are not in the same order as listed in the text above them too.
On Tue Oct 11 20:13:18 2016, jidanni@jidanni.org wrote: Show quoted text
> On the (Debian) man page, > > quote_binary > By default, all "unsafe" bytes inside a string cause the combined > field to be quoted. By setting this attribute to 0, you can > disable > that trigger for bytes >= 0x7f. > > > is missing from > > > $csv = Text::CSV->new (); > > is equivalent to > > $csv = Text::CSV->new ({ > quote_char => '"', > escape_char => '"', > sep_char => ',', > eol => $\, > always_quote => 0, > quote_space => 1, > quote_null => 1, > binary => 0, > decode_utf8 => 0, > keep_meta_info => 0, > allow_loose_quotes => 0, > allow_loose_escapes => 0, > allow_whitespace => 0, > blank_is_undef => 0, > empty_is_undef => 0, > verbatim => 0, > auto_diag => 0, > }); > > > And there are perhaps more items missing too. > In fact they are not in the same order as listed in the text above > them too.
Updated the docs for Text::CSV/CSV_PP 1.91 with the one for Text::CSV_XS. Thanks.