Text::CSV::Field - Get data from Text CSV file using header field.
1.01
my $obj = Text::CSV::Field->new('filename','field_sep'); my @data = $obj->getfield('field_name');
Using this module you can parse a simple text csv file with header field.
my $obj = Text::CSV::Field->new('filename','field_sep');
Construct a new parser. This takes two parameters csv filename and field seperator. Both parameters are mandatory.
my @data = $obj->getfield('fieldname');
Returns a list of data.
Praveen Kumar
Please direct all correspondence regarding this module to: bug-Text-CSV-Field@rt.cpan.org
Copyright (C) 2010 Praveen Kumar. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
To install Text::CSV::Field, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::CSV::Field
CPAN shell
perl -MCPAN -e shell install Text::CSV::Field
For more information on module installation, please visit the detailed CPAN module installation guide.