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.