Catmandu::Importer::BibTeX - a BibTeX importer
use Catmandu::Importer::BibTeX; my $importer = Catmandu::Importer::BibTeX->new(file => "/foo/bar.bib"); my $n = $importer->each(sub { my $hashref = $_[0]; # ... });
Create a new BibTeX importer for $filename. Uses STDIN when no filename is given.
Every Catmandu::Importer is a Catmandu::Iterable all its methods are inherited.
Catmandu::Importer, Catmandu::Exporter::BibTeX
To install Catmandu::BibTeX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::BibTeX
CPAN shell
perl -MCPAN -e shell install Catmandu::BibTeX
For more information on module installation, please visit the detailed CPAN module installation guide.