The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::CSV::Field - Get data from Text CSV file using header field.

VERSION

    1.01

SYNOPSIS

        my $obj = Text::CSV::Field->new('filename','field_sep');
        my @data = $obj->getfield('field_name');

DESCRIPTION

Using this module you can parse a simple text csv file with header field.

METHODS

new

        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.

getfield

        my @data = $obj->getfield('fieldname');

Returns a list of data.

AUTHOR

Praveen Kumar

BUGS and QUERIES

Please direct all correspondence regarding this module to: bug-Text-CSV-Field@rt.cpan.org

COPYRIGHT AND LICENSE

  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.