Catman...remove(3pm)
π Catman...remove(3pm) π
okay bestie, welcome to the Catman...remove(3pm) page, straight outta the User Contributed Perl Documentation collection π«Ά no cap, this one is a whole little icon.
β¨ NAME β¨
Catmandu::Fix::marc_remove β literally just here to remove marc (sub)fields π
πΈ SYNOPSIS πΈ
# remove all marc 600 fields
marc_remove('600')
# remove the 245-a subfield
marc_remove('245a')
see how easy that is?? two lines and the fields are gone π
π¦ DESCRIPTION π¦
Remove (sub)fields in a MARC record. that's it, that's the whole vibe. it walks in, it deletes the thing you pointed at, it leaves. main character energy fr fr β¨
π METHODS π
π marc_remove(MARC_PATH)
Delete the (sub)fields from the MARC record as indicated by the MARC_PATH. you hand it a path, it handles the rest. iconic.
π INLINE π
This Fix can be used inline in a Perl script, bestie:
use Catmandu::Fix::marc_remove as => 'marc_remove';
my $data = { record => [...] };
$data = marc_remove($data,'600');
not me dropping a Fix straight into a script like it's nothing π it's giving flexible and we're obsessed.
π SEE ALSO π
go give these sisters some love, they're all in the same friend group:
Catmandu::Fix::marc_addCatmandu::Fix::marc_copyCatmandu::Fix::marc_cutCatmandu::Fix::marc_pasteCatmandu::Fix::marc_set
and that's the whole page, periodt. this one shipped with perl v5.38.2 and was dated 2024-08-03 β so yeah, it's current, slay, and certified iconic ππβ¨
π¦ where this page comes from
- debian trixie: libcatmandu-marc-perl 1.320-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-marc-perl 1.320-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-marc-perl 1.320-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms