[ENHANCEMENTS]
- MARC::Field->as_string() now accepts an optional second
parameter to specify the delimiter to use between
subfields. (Tomas Cohen Arazi)
- MARC::Field->delete_subfield() can now accept a regexp
to specify the subfields to remove. For example, to
remove all numeric subfields, one can say:
$field->delete_subfield(code => qr/\d/);
[FIXES]
- the warnings pragma is now used throughout MARC::Record
- $field->as_string('0') now returns the contents of
subfield $0 rather than the contents of all of the
subfields in the field.
- RT#88421: add newline after printing warnings
(Jason Stephenson)
- RT#85804: fix spelling glitch (Gregor Herrmann)
- re-enabled make test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-Record?expand=0&rev=9
+ improve support for subclassing MARC::Field (Dan Wells)
+ RT#55993: MARC::Record->insert_fields_after can now insert
after last field in record (Frédéric Demians)
+ added methods to MARC::Field to allow a (class-level) list of
fields that should be considered control fields in addition
to 001-009. Includes test t/extra_controlfields.t, and
supports alphabetic characters in the tag labels. The new
methods are
allow_controlfield_tags
disallow_controlfield_tags
is_controlfield_tag
+ added MARC::Record::delete_fields() and t/delete-field.t
+ documentation improvements (Mike Rylander and Dan Scott)
+ baked in minimum Perl version required: 5.8.2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-MARC-Record?expand=0&rev=2