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::Parser - parses a MARCspec as string

Attributes

spec
       Obligatory. The parameter string the MARC::Spec::Parser was instantiated with.

   marcspec
       Instance of MARC::Spec.

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::Parser parses a MARCspec as string into a MARC::Spec.  MARC::Spec is a MARCspec - A common
       MARC record path language <http://marcspec.github.io/MARCspec/> parser and validator.

Methods

new(Str)
       Create a new MARC::Spec::Parser instance. Parameter must be a MARCspec as string.

Name

       MARC::Spec::Parser - parses a MARCspec as string

See Also

       •   MARC::Spec

       •   MARC::Spec::Field

       •   MARC::Spec::Subfield

       •   MARC::Spec::Indicator

       •   MARC::Spec::Subspec

       •   MARC::Spec::Structure

       •   MARC::Spec::Comparisonstring

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

Synopsis

           use MARC::Spec::Parser;

           my $parser = MARC::Spec::Parser->new('245$a');

           my $ms = $parser->marcspec;

           say ref $ms; # MARC::Spec

See Also