App-CSV

 view release on metacpan or  search on metacpan

bin/csv  view on Meta::CPAN

affect both input and output.

=over 4

=item B<--quote_char>

=item B<--escape_char>

=item B<--sep_char>

=item B<--eol>

=item B<--always_quote>

=item B<--binary>

=item B<--keep_meta_info>

=item B<--allow_loose_quotes>

=item B<--allow_loose_escapes>

lib/App/CSV.pm  view on Meta::CPAN

hasrw _input_csv  => ();
hasrw _output_csv => ();

# Text::CSV options, straight from the manpage.
# We override Text::CSV's default here... because it's WRONG.
our %TextCSVOptions = (
    # name              => [type, default, alias, @extra_opts]
    quote_char          => ['Str', '"',   'q'],
    escape_char         => ['Str', '"',   'e'],
    sep_char            => ['Str', ',',   's', is => 'rw'],
    eol                 => ['Any', ''],
    always_quote        => ['Int', 0],
    binary              => ['Int', 1,     'b'],
    keep_meta_info      => ['Int', 0,     'k'],
    allow_loose_quotes  => ['Int', 0],
    allow_loose_escapes => ['Int', 0],
    allow_whitespace    => ['Int', 0,     'w'],
    verbatim            => ['Int', 0],
);

# output CSV processor options default to whatever the input option is.



( run in 1.573 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )