Patrick Hochstenbach > Catmandu-MARC > Catmandu::Fix::marc_add

Download:
Catmandu-MARC-0.219.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.219   Source  

NAME ^

Catmandu::Fix::marc_add - add new fields to marc

SYNOPSIS ^

    # Set literal values
    marc_add('900', a, 'test' , 'b', test)
    marc_add('900', ind1 , ' ' , a, 'test' , 'b', test)
    marc_add('900', ind1 , ' ' , a, 'test' , 'b', test , record:record2)

    # Copy data from an other field (when the field value is an array, the
    # subfield will be repeated)
    marc_add('900', a, '$.my.data.field')

DESCRIPTION ^

Add a new subfield to MARC record.

SEE ALSO ^

Catmandu::Fix

syntax highlighting: