logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

MARC::Spec::Comparisonstring - comparison string specification

Attributes

raw
       Obligatory. The raw comparison string with escaped characters.

   comparable
       Obligatory. The comparison string without the escaping "\".

Author

       Carsten Klee "<klee at cpan.org>"

Bugs

       Please report any bugs to <https://github.com/MARCspec/MARC-Spec/issues>

Contributors

       •   Johann Rolschewski, "<jorol at cpan>"

Description

       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.

Name

       MARC::Spec::Comparisonstring - comparison string specification

See Also

       •   MARC::Spec

       •   MARC::Spec::Field

       •   MARC::Spec::Subfield

       •   MARC::Spec::Indicator

       •   MARC::Spec::Subspec

       •   MARC::Spec::Structure

       •   MARC::Spec::Parser

perl v5.34.0                                       2022-06-15                  MARC::Spec::Comparisonstring(3pm)

Synopsis

           use MARC::Spec;

           my $ms = MARC::Spec->new('245{$a~\marc});
           say ref $ms->field->subspecs->[0]->rightSubTerm;  # MARC::Spec::Comparisonstring

See Also