Catmandu::Fix::Condition::marc_has_many(3pm)

Catmandu::Fix::Condition::marc_has_many3pm

Test if a marc has more than one (sub)field

Usage

   # marc_has_many(MARC_PATH)
   if marc_has_many('245')
        add_field('error.$append','more than one 245!')
   end

Overview

Evaluate the enclosing fixes only if the MARC has more than one (sub)field.

Methods

marc_has_many(MARC_PATH)

Evaluates to true when the MARC has more than one (sub)field, false otherwise.

Releases

4 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10–11
  2. 12
  3. 13

From libcatmandu-marc-perl 1.320-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.