Koha::Biblio::Metadata::Extractor::MARC - Extract specific metadata from MARC::Record objects
my $extractor = Koha::Biblio::Metadata::Extractor::MARC->new({ biblio => $biblio });
Constructor for the Koha::Biblio::Metadata::Extractor::MARC class.
my $metadata = $marc_extractor->metadata;
Return a MARC record.
my $control_number = $extractor->get_control_number();
Returns the control number/record identifier as extracted from the metadata. It returns an empty string if no 001 present or if undef.
my $normalized_string = $self->_normalize_string($string);
Returns a normalized string (remove dashes)
Tomas Cohen Arazi, <tomascohen@theke.io>
Jonathan Druart, <jonathan.druart@bugs.koha-community.org>