-
-
28 Feb 2022 07:25:12 UTC
- Distribution: Catmandu-MARC
- Module version: 1.28
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (7)
- Testers (38 / 0 / 1)
- Kwalitee
Bus factor: 4- % Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (153.61KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 10 contributors-
Patrick Hochstenbach
-
Carsten Klee
-
Johann Rolschewski
-
Chris Cormack
-
Debabrata Deka
-
Jakob Voss
-
Mohammad S Anwar
-
Nicolas Franck
-
Nicolas Steenlant
-
Robin Sheat
NAME
Catmandu::Fix::marc_append - add a value at the end of a MARC field
SYNOPSIS
# Append a period at the end of the 100 field marc_append(100,".")
DESCRIPTION
Append a value at the end of a MARC (sub)field
METHODS
marc_append(MARC_PATH , VALUE)
For each (sub)field matching the MARC_PATH append the VALUE to the last subfield. This value can be a literal or reference an existing field in the record using the dollar JSON_PATH syntax.
INLINE
This Fix can be used inline in a Perl script:
use Catmandu::Fix::marc_append as => 'marc_append'; my $data = { record => [...] }; $data = marc_append($data, '100', '.');
SEE ALSO
Module Install Instructions
To install Catmandu::MARC, copy and paste the appropriate command in to your terminal.
cpanm Catmandu::MARC
perl -MCPAN -e shell install Catmandu::MARC
For more information on module installation, please visit the detailed CPAN module installation guide.