NAME

MARC::Moose::Field::Std - Standard Marc Field (tag >= 010)

VERSION

version 0.017

METHODS

field( letter )

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')

AUTHOR

Frederic Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE

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.