Catmandu::Fix::pica_map - copy mab values of one field to a new field
version 0.12
# Copy from field 003@ subfield 0 to dc.identifier hash pica_map('003A0','dc.identifier'); # Copy from field 003@ subfield 0 to dc.identifier hash pica_map('010@a','dc.language'); # Copy from field 009Q subfield a to foaf.primaryTopicOf array pica_map('009Qa','foaf.primaryTopicOf.$append'); # Copy from field 028A subfields a and d to dc.creator hash joining them by ' ' pica_map('028Aad','dcterms.creator', -join => ' '); # Copy from field 028A with ocurrance subfields a and d to dc.contributor hash joining them by ' ' pica_map('028B[01]ad','dcterms.ccontributor', -join => ' ');
PICA::Data contains more methods for processing parsed PICA+ records
Johann Rolschewski <rolschewski@gmail.com>
This software is copyright (c) 2014 by Johann Rolschewski.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Catmandu::PICA, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::PICA
CPAN shell
perl -MCPAN -e shell install Catmandu::PICA
For more information on module installation, please visit the detailed CPAN module installation guide.