table of contents
Catmandu::Fix::Condition::marc_has(3pm) | User Contributed Perl Documentation | Catmandu::Fix::Condition::marc_has(3pm) |
NAME¶
Catmandu::Fix::Condition::marc_has - Test if a MARC (sub)field exists
SYNOPSIS¶
# marc_has(MARC_PATH) unless marc_has('245') add_field('error.$append','no 245 value!') end
DESCRIPTION¶
Evaluate the enclosing fixes only if the MARC (sub)field exists.
METHODS¶
marc_has(MARC_PATH)¶
Evaluates to true when the MARC_PATH values exists, false otherwise.
SEE ALSO¶
Catmandu::Fix::marc_has_many
2022-09-27 | perl v5.34.0 |