Data::Package::CSV - A Data::Package class for CSV data using Parse::CSV
The Data::Package::CSV package provides a subclass of the Data::Package::File manpage that provides data from a CSV file by integrating with the Parse::CSV manpage.
The cvs_options method is the most direct method, with full control over the creation of the the Parse::CSV manpage object. If a fully compliant options hash is returned (as a list) then no other methods need to be defined.
The list returned by the cvs_options method will be passed directly to the the Parse::CSV manpage constructor. Read the documentation for the Parse::CSV manpage for more details on what you should return to match your data.
By default, the null list is return, specifying entirely default options to the the Parse::CSV manpage constructor (array mode) and not specifying any filters or parsing variations.
If it list that is returned does not have either a data source (either a
handle param or file param) then the file method for the parent
class will be called to locate a file.
Bugs should always be submitted via the CPAN bug tracker.
http://rt.cpan.org/NoAuth/ReportBug.html
For other issues, contact the maintainer
Adam Kennedy <adamk@cpan.org>
Copyright 2007 Adam Kennedy.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.