You may also want to try Data::XLSX::Parser.
If you are dealing with large spreadsheets, as I am, you will find it to be much faster than the alternatives.
Unfortunately, the documentation is somewhat sparse. After hacking around in it, I came up with the following usage pattern as the one the works for me.
my $parser = Data::XLSX::Parser->new; $parser->open($_xls); # dies in module if unable to open $parser->add_row_event_handler( sub { my ($row) = @_; $csv->print( $fh_csv, $row ); } ); $parser->sheet_by_rid( 'rId'.$parser->workbook->sheet_id($_sht) ); close $fh_csv;
It is not well maintained, but as you can see from testers, it passes on all perl versions and has worked for me across 5.18, 5.20, 5.22, 5.24 on MacOS, Linux and Windows.
lbe
In reply to Re: Installing Spreadsheet::XLSX
by learnedbyerror
in thread Installing Spreadsheet::XLSX
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |