POE::Filter::CSV - A POE-based parser for CSV based files.
use POE::Filter::CSV; my $filter = POE::Filter::CSV->new(); my $arrayref = $filter->get( [ $line ] ); my $arrayref2 = $filter->put( $arrayref );
POE::Filter::CSV provides a convenient way to parse CSV files. It is a wrapper for the module Text::CSV.
A more comprehensive demonstration of the use to which this module can be put to is in the examples/ directory of this distribution.
Creates a new POE::Filter::CSV object. Any arguments given are passed through to the constructor for Text::CSV.
Takes an arrayref which is contains lines of CSV formatted input. Returns an arrayref of lists of fields.
Takes an arrayref containing arrays of fields and returns an arrayref containing CSV formatted lines.
Makes a copy of the filter, and clears the copy's buffer.
Chris Williams <firstname.lastname@example.org>
This software is copyright (c) 2017 by Chris Williams.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.