MARC::...Parser(3pm)
π MARC::Spec::Parser β the manual page, but make it cute β¨
okay bestie, welcome to MARC::Spec::Parser(3pm), part of the User Contributed Perl Documentation. she's a little parser with big main character energy and she's about to turn your string into a whole object. π
πΈ NAME πΈ
MARC::Spec::Parser β she parses a MARCspec as string. that's it, that's the whole job, and she does it flawlessly. π
β¨ SYNOPSIS β¨
use MARC::Spec::Parser;
my $parser = MARC::Spec::Parser->new('245$a');
my $ms = $parser->marcspec;
say ref $ms; # MARC::Spec
likeβ¦ look at her go. no cap, four lines and you're done. π¦
π DESCRIPTION π
MARC::Spec::Parser parses a MARCspec as string into a MARC::Spec. and what is MARC::Spec, you ask? she's a parser and validator for MARCspec β A common MARC record path language <http://marcspec.github.io/MARCspec/>. iconic behavior, honestly. π₯
π«Ά METHODS π«Ά
π new(Str)
Create a new MARC::Spec::Parser instance. the parameter must be a MARCspec as string. that's the vibe, that's the assignment, don't come at her with anything else. β¨
π ATTRIBUTES π
π spec
Obligatory. this is the parameter string the MARC::Spec::Parser was instantiated with. she remembers where she came from, fr fr. π
π§ marcspec
Instance of MARC::Spec. the glow-up at the end of the pipeline. π«
π AUTHOR π
Carsten Klee "<klee at cpan.org>" β the original main character. π
πΈ CONTRIBUTORS πΈ
- Johann Rolschewski,
"<jorol at cpan>"β we love a supporting cast that ate. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2016 by Carsten Klee.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, legally speaking. βοΈβ¨
π BUGS π
Please report any bugs to <https://github.com/MARCspec/MARC-Spec/issues>
not me begging you to file a real issue instead of just suffering in silence. bestie. the maintainers want to know. π«Ά
π₯ SEE ALSO π₯
MARC::SpecMARC::Spec::FieldMARC::Spec::SubfieldMARC::Spec::IndicatorMARC::Spec::SubspecMARC::Spec::StructureMARC::Spec::Comparisonstring
the whole friend group, assembled. go say hi to all of them. π
and that's the page, bestie π this was MARC::...Parser(3pm) from perl v5.34.0, dated 2022-06-15 β go forth and parse, you absolute icon ππ¦β¨
π¦ where this page comes from
- debian bookworm: libmarc-spec-perl 2.0.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libmarc-spec-perl 2.0.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libmarc-spec-perl 2.0.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmarc-spec-perl 2.0.3-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmarc-spec-perl 2.0.3-2 Β· 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