The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

MARC::SubjectMap::Field - represent field/subfield combinations to examine

SYNOPSIS

DESCRIPTION

The MARC::SubjectMap configuration includes information about which field/subfield combinations to examine. This is contained in the configuration as a list of MARC::SubjectMap::Field objects which individually bundle up the information.

METHODS

new()

The constructor. Optionally you can supply tag, translate and copy during the constructor call instead of using the setters.

    my $f = MARC::Subject::Field->new( { tag => '650', copy => ['a','b'] } )

tag()

Returns the tag for the field, for example: 600 or 650.

translate()

Gets a list of subfields to translate in the field.

addTranslate()

Adds a subfield to translate.

copy()

Gets a list of subfields to copy in the field.

addCopy()

Adds a subfield to copy.