MARC::Indexer - index MARC records
$indexer = MARC::Indexer->new( 'index_points' => [ { 'name' => 'ctrlnum', 'tag' => '001' }, { 'name' => 'title', 'tag' => '245', 'extract' => 'subfields:abcdnp', 'normalize' => [qw(text nfd uc)], }, { 'name' => 'subjtopic', 'tag' => '650', 'repeatable' => 1, ... }, ... ], ); $idx = $indexer->index($marc); $idx_title = $idx->{'title'};
To install MARC::Indexer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Indexer
CPAN shell
perl -MCPAN -e shell install MARC::Indexer
For more information on module installation, please visit the detailed CPAN module installation guide.