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]; # ... });
Citekey and reference type are imported as field _citekey and _type, respectively.
_citekey
_type
All methods of Catmandu::Importer and by this Catmandu::Iterable are inherited.
Catmandu::Exporter::BibTeX, BibTeX::Parser
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.