Patrick Hochstenbach > Catmandu-MARC-0.205 > Catmandu::Fix::marc_set

Download:
Catmandu-MARC-0.205.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Catmandu::Fix::marc_set - set a marc value of one (sub)field to a new value

SYNOPSIS ^

    # Set a field in the leader
    if marc_match('LDR/6','c')
        marc_set('LDR/6','p')
    end

    # Set all the 650-p fields to 'test'
    marc_set('650p','test')

    # Set the 100-a subfield where indicator-1 is 3
    marc_set('100[3]a','Farquhar family.')

DESCRIPTION ^

Read our Wiki pages at https://github.com/LibreCat/Catmandu/wiki/Fixes for a complete overview of the Fix language.

SEE ALSO ^

Catmandu::Fix

syntax highlighting: