MARC::Moose::Field::Std - Standard Marc Field (tag >= 010)
version 0.016
In scalar context, returns the first letter subfield content. In list context, returns all letter subfields content.
For example:
my $field = MARC::Moose::Field::Std->new( tag => '600', subf => [ [ a => 'Part 1' ], [ x => '2010' ], [ a => 'Part 2' ], ] ); my $value = $field->subfield('a'); # Get 'Part 1' my @values = $field->subfield('a'); # Get ('Part1', 'Part 2')
Frederic Demians <f.demians@tamil.fr>
This software is copyright (c) 2011 by Frederic Demians.
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 MARC::Moose, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MARC::Moose
CPAN shell
perl -MCPAN -e shell install MARC::Moose
For more information on module installation, please visit the detailed CPAN module installation guide.