MARC::...Parser(3pm)

πŸ“¦
version 2.0.3 Β· 2 versions
  • 2.0.3 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 2.0.3 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸŽ€

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::Spec
  • MARC::Spec::Field
  • MARC::Spec::Subfield
  • MARC::Spec::Indicator
  • MARC::Spec::Subspec
  • MARC::Spec::Structure
  • MARC::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