The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Catmandu::Fix::viaf_read - query the OCLC VIAF service

SYNOPSIS

        add_field('number','102333412');
        do
          maybe();
          viaf_read('number');
          marc_map('700','author.$append')
          remove_field(record)
        end

DESCRIPTION

Search for an authority record by a VIAF control number. Will insert the parsed VIAF MARC record into the document (overwriting the 'record' key if available). Returns undef on failure. Use the maybe() Bind to secure against service failures undef return values

SEE ALSO

Catmandu::Fix, Catmandu::MARC, Catmandu::Fix::Bind::maybe