The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

  Catmandu::Importer::Inspire - Package that imports Inspire data.

SYNOPSIS

  use Catmandu::Importer::Inspire;

  my %attrs = (
    id => '1203476',
    format => 'endnote',
  );

  OR

  my %attrs = (
    query => 'doi:10.1103/PhysRevD.82.112004'
    format => 'marc',
  );

  my $importer = Catmandu::Importer::Inspire->new(%attrs);

  my $n = $importer->each(sub {
    my $hashref = $_[0];
    # ...
  });

SEE ALSO

Catmandu::Iterable