MARC::...string(3pm)
π MARC::...string(3pm) π
okay bestie, so this is the manual page for MARC::Spec::Comparisonstring, and it lives in the User Contributed Perl Documentation section (that's the 3pm bit, iykyk). It's a Perl module, and it's giving very specific energy. Let's get into it β¨
πΈ NAME πΈ
MARC::Spec::Comparisonstring β it's a comparison string specification, fr fr.
π¦ SYNOPSIS π¦
here's the whole vibe in code form, no cap:
use MARC::Spec;
my $ms = MARC::Spec->new('245{$a~\marc});
say ref $ms->field->subspecs->[0]->rightSubTerm; # MARC::Spec::Comparisonstring
see how that last line says MARC::Spec::Comparisonstring? yeah. that's the girl. that's her. π
π DESCRIPTION π
so MARC::Spec::Comparisonstring is, literally, the comparison string specification of a MARC::Spec. that's its whole job and it does it beautifully.
if you want the full tea on how the syntax works, go check out MARCspec - A common MARC record path language over at <https://marcspec.github.io/MARCspec/> β the details live there. π«Ά
β¨ METHODS β¨
π new
creates a brand new MARC::Spec::Comparisonstring instance. new instance, who dis. π
π to_string
returns the spec as a string. simple. iconic. no notes. β
π ATTRIBUTES π
π raw
obligatory β meaning you have to give it one, bestie, it's not optional. this is the raw comparison string, with the escaped characters still in there. π
π comparable
also obligatory. this one is the comparison string without the escaping "\ β so it's the cleaned-up, ready-to-compare version. β¨
πΈ AUTHOR πΈ
Carsten Klee, <klee at cpan.org> π
π§ CONTRIBUTORS π§
- Johann Rolschewski,
<jorol at cpan>β we love a supporting cast π«Ά
β COPYRIGHT AND LICENSE β
this software is copyright (c) 2016 by Carsten Klee. periodt.
it's free software, so you can redistribute it and/or modify it under the exact same terms as the Perl 5 programming language system itself. slay. π
π BUGS π
found a bug? please report any bugs to <https://github.com/MARCspec/MARC-Spec/issues> β the maintainers will be so grateful, not me crying over a good bug report π
π SEE ALSO π
MARC::SpecMARC::Spec::FieldMARC::Spec::SubfieldMARC::Spec::IndicatorMARC::Spec::SubspecMARC::Spec::StructureMARC::Spec::Parser
the whole friend group, together at last π
and that's the whole page, bestie! this one was generated with perl v5.34.0 and dated 2022-06-15 β shoutout to the footer for keeping it real. go forth and compare your strings responsibly πβ¨π¦
π¦ 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