Provided by: libcatmandu-marc-perl_1.281-1_all bug

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