MARC-Record

 view release on metacpan or  search on metacpan

lib/MARC/Field.pm  view on Meta::CPAN


=head2 subfields()

Returns all the subfields in the field.  What's returned is a list of
list refs, where the inner list is a subfield code and the subfield data.

For example, this might be the subfields from a 245 field:

        (
          [ 'a', 'Perl in a nutshell :' ],
          [ 'b', 'A desktop quick reference.' ],
        )

=cut

sub subfields {
    my $self = shift;

    if ($self->is_control_field) {
        $self->_warn( "Control fields (generally, just tags below 010)  do not have subfields" );
        return;



( run in 0.521 second using v1.01-cache-2.11-cpan-299005ec8e3 )