MARC::Spec::Parser3pm
Parses a marcspec as string
Usage
use MARC::Spec::Parser;my $parser = MARC::Spec::Parser->new('245$a');my $ms = $parser->marcspec;say ref $ms; # MARC::Spec
Overview
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.
Attributes
spec
Obligatory. The parameter string the MARC::Spec::Parser was instantiated with.
marcspec
Instance of MARC::Spec.
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.