Catmandu::Fix::Condition::marc_has - Test if a MARC (sub)field exists
Contents
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.
Name
Catmandu::Fix::Condition::marc_has - Test if a MARC (sub)field exists
See Also
Catmandu::Fix::marc_has_many
perl v5.38.2 2024-08-03 Catmandu::Fix::...ition::marc_has(3pm)
Synopsis
# marc_has(MARC_PATH)
unless marc_has('245')
add_field('error.$append','no 245 value!')
end
