Catmandu::Importer::XLS
Package that imports XLS files
- Provided by: libcatmandu-xls-perl (Version: 0.08-1)
- Report a bug
Package that imports XLS files
# On the command line
$ catmandu convert XLS < ./t/test.xls
$ catmandu convert XLS --header 0 < ./t/test.xls
$ catmandu convert XLS --fields 1,2,3 < ./t/test.xls
$ catmandu convert XLS --columns 1 < ./t/test.xls
$ catmandu convert XLS --worksheet 1 < ./t/test.xls
# Or in Perl
use Catmandu::Importer::XLS;
my $importer = Catmandu::Importer::XLS->new(file => "./t/test.xls");
my $n = $importer->each(sub {
my $hashref = $_[0];
# ...
});
Catmandu importer for XLS 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::XLSX.