Para::Frame::Spreadsheet - Access data in diffrent source formats in a uniform way
use Para::Frame::Spreadsheet; use IO::File; my $fh = new IO::File "my_file"; my $type = "text/x-csv"; my $sh = new Para::Frame::Spreadsheet($fh, $type); $sh->get_headers; while( my $row = $sh->next_rowhash ) { foreach my $col ( $sh->headers ) { print $row->{$col} . "\t"; } print "\n"; }
Handles mostly CSV and XML.
For adding extra headers, for fields added in row_filter