Subject: | Misleading error message from MARC::field new |
I tried to create a new 245 field with an empty subfield array and got a
misleading message:
Field 245 must have indicators (use ' ' for empty indicators) at
C:\AGRICOLA\245_change_v2.pl line 144
Code:
my @subfield_245 = [];
my $new_field = MARC::Field->new( '245',
'1',
'0',
@subfields_245 );