MARC::Spec::Parser(3pm)

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>"

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–11
  2. 12–13

Author

Carsten Klee "<klee at cpan.org>"

Bugs

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

From libmarc-spec-perl 2.0.3-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.