Catmandu::Importer::PDFInfo - Catmandu importer to extract metadata from one pdf
# From the command line # Export pdf information $ catmandu convert PDFInfo --file input.pdf to YAML #In a script use Catmandu::Sane; use Catmandu::Importer::PDFInfo; my $importer = Catmandu::Importer::PDFInfo->new( file => "/tmp/input.pdf" ); $importer->each(sub{ my $pdf = $_[0]; #.. });
author: ~ creation_date: 1207274644 creator: PDFplus keywords: ~ metadata: ~ modification_date: 1421574847 producer: "Nobody at all" subject: ~ title: "Hello there" version: PDF-1.6
Nicolas Franck <nicolas.franck at ugent.be>
<nicolas.franck at ugent.be>
Catmandu, Catmandu::Importer , Poppler
To install Catmandu::Importer::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::Importer::PDF
CPAN shell
perl -MCPAN -e shell install Catmandu::Importer::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.