Catmandu::Importer::XLSX(3pm) | User Contributed Perl Documentation | Catmandu::Importer::XLSX(3pm) |
Catmandu::Importer::XLSX - Package that imports XLSX files
# On the command line $ catmandu convert XLSX < ./t/test.xlsx $ catmandu convert XLSX --header 0 < ./t/test.xlsx $ catmandu convert XLSX --fields 1,2,3 < ./t/test.xlsx $ catmandu convert XLSX --columns 1 < ./t/test.xlsx $ catmandu convert XLSX --worksheet 1 < ./t/test.xlsx # Or in Perl use Catmandu::Importer::XLSX; my $importer = Catmandu::Importer::XLSX->new(file => "./t/test.xlsx"); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
Catmandu importer for XLSX files.
This module inherits all methods of Catmandu::Importer and by this Catmandu::Iterable.
In addition to the configuration provided by Catmandu::Importer ("file", "fh", etc.) the importer can be configured with the following parameters:
Catmandu::Importer, Catmandu::Iterable, Catmandu::Importer::CSV, Catmandu::Importer::XLS.
2021-09-02 | perl v5.32.1 |