Catmandu::Exporter::LIDO - a LIDO exporter
# From the commandline $ catmandu convert JSON --fix myfixes to LIDO < /tmp/data.json # From Perl use Catmandu; # Print to STDOUT my $exporter = Catmandu->exporter('LIDO'); $exporter->add_many($arrayref); $exporter->add_many($iterator); $exporter->add_many(sub { }); $exporter->add($hashref); printf "exported %d objects\n" , $exporter->count; # Get an array ref of all records exported my $data = $exporter->as_arrayref;
This is a Catmandu::Exporter for converting Perl into LIDO XML (an XML Schema for Contributing Content to Cultural Heritage Repositories).
Catmandu::Importer::LIDO, Lido::XML
To install Catmandu::LIDO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::LIDO
CPAN shell
perl -MCPAN -e shell install Catmandu::LIDO
For more information on module installation, please visit the detailed CPAN module installation guide.