---
name: "Catmandu::Importer::BibTeX"
section: "3pm"
platform: "linux"
package: "libcatmandu-bibtex-perl"
version: "0.21-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/Catmandu::Importer::BibTeX"
---

# Catmandu::Importer::BibTeX(3pm)

a BibTeX importer

## NAME

Catmandu::Importer::BibTeX - a BibTeX importer

## SYNOPSIS

```
    use Catmandu::Importer::BibTeX;
    my $importer = Catmandu::Importer::BibTeX->new(file => "/foo/bar.bib");
    my $n = $importer->each(sub {
        my $hashref = $_[0];
        # ...
    });
```

## DESCRIPTION

Citekey and reference type are imported as field `"_citekey"` and `"_type"`, respectively.

## METHODS

All methods of Catmandu::Importer and by this Catmandu::Iterable are inherited.

## SEE ALSO

Catmandu::Exporter::BibTeX, BibTeX::Parser
