Patrick Hochstenbach > Catmandu-MARC-0.206 > Catmandu::Fix::Condition::marc_match

Download:
Catmandu-MARC-0.206.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source  

NAME ^

Catmandu::Fix::Condition::marc_match - Conditionals on MARC fields

SYNOPSIS ^

   # marc_match(MARC_PATH,REGEX)
   
   if marc_match('245','My funny title')
        add_field('my.funny.title','true')
   end

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: