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

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

Evaluate the enclosing fixes only if the MARC (sub)field matches a regular expression.

SEE ALSO

Catmandu::Fix