NAME
Data::TableReader::Decoder::CSV - Access rows of a comma-delimited text file
VERSION
version 0.005
DESCRIPTION
This decoder wraps an instance of either Text::CSV or Text::CSV_XS. You may pass your own options via the "parser" attribute, which will override the defaults of this module on a per-field basis.
This module defaults to:
parser => {
binary => 1,
allow_loose_quotes => 1,
auto_diag => 2,
}
ATTRIBUTES
parser
An instance of Text::CSV or Text::CSV_XS or compatible, or arguments to pass to the constructor. Constructor arguments are passed to CSV_XS if it is installed, else CSV.
iterator
my $iterator= $decoder->iterator;
Return an iterator which returns each row of the table as an arrayref.
AUTHOR
Michael Conrad <mike@nrdvana.net>
COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Michael Conrad.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.