Catmandu::Fix::Condition::marc_match - Test if a MARC (sub)field matches a value
# marc_match(MARC_PATH,REGEX) if marc_match('245','My funny title') add_field('my.funny.title','true') end
Evaluate the enclosing fixes only if the MARC (sub)field matches a regular expression.
Evaluates to true when the MARC_PATH values matches the REGEX, false otherwise.
Catmandu::Fix
To install Catmandu::MARC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::MARC
CPAN shell
perl -MCPAN -e shell install Catmandu::MARC
For more information on module installation, please visit the detailed CPAN module installation guide.