MARC::Spec::Comparisonstring3pm
Comparison string specification
Usage
use MARC::Spec;my $ms = MARC::Spec->new('245{$a~\marc});say ref $ms->field->subspecs->[0]->rightSubTerm; # MARC::Spec::Comparisonstring
Overview
MARC::Spec::Comparisonstring is the comparison string specification of a MARC::Spec. See MARCspec - A common MARC record path language <http://marcspec.github.io/MARCspec/> for further details on the syntax.
Methods
new
Create a new MARC::Spec::Comparisonstring instance.
to_string
Returns the spec as a string.
Attributes
raw
Obligatory. The raw comparison string with escaped characters.
comparable
Obligatory. The comparison string without the escaping "\".
Contributors
- •
-
Johann Rolschewski,
"<jorol at cpan>"
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.
Releases
4 releases since Debian 10 (Buster); the text changed 1 time.