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

Download:
Catmandu-MARC-0.117.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Catmandu-MARC-0.206

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

SEE ALSO ^

Catmandu::Fix::marc_map

syntax highlighting: