MARC::Spec::Structure
use MARC::Spec::Field; # create a new field my $field = MARC::Spec::Field->new('246'); # field does inherit all attributes, predicates and methods say $field->DOES('MARC::Spec::Structure'); # 1
Is the base class for MARC::Spec::Field and MARC::Spec::Subfield.
Create a new MARC::Spec instance. Parameter must be an instance of MARC::Spec::Field.
Parses a MARCspec as string and returns an instance of MARC::Spec.
Appends a subspec to the array of the attribute subspecs. Parameter must be an instance of MARC::Spec::Subspec.
Appends subspecs to the array of the attribute subspecs. Parameter must be an ArrayRef and elements must be instances of MARC::Spec::Subspec.
Returns true if attribute subspecs has an value and false otherwise.
Obligatory. Attribute field is an instance of MARC::Spec::Field. See MARC::Spec::Field for the description of attributes.
If defined, subfields is an array of instances of MARC::Spec::Subfield. See MARC::Spec::Subfield for the description of attributes.
Carsten Klee <klee at cpan.org>
<klee at cpan.org>
Johann Rolschewski, <jorol at cpan>
<jorol at cpan>
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.
Please report any bugs to https://github.com/MARCspec/MARC-Spec/issues
MARC::Spec, MARC::Spec::Field, MARC::Spec::Subfield, MARC::Spec::Subspec, MARC::Spec::Comparisonstring, MARC::Spec::Parser
To install MARC::Spec, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Spec
CPAN shell
perl -MCPAN -e shell install MARC::Spec
For more information on module installation, please visit the detailed CPAN module installation guide.