MARC::Field->subfields function

[email protected] (Justin Rittenhouse)
Newsgroups perl.perl4lib
Message-ID <[email protected]>
I'm relatively new to Perl and very new to the MARC::Record module.  I'm trying to use the subfields function (my @subfields = $field->subfields();), but I'm getting an error:

Can't use an undefined value as an ARRAY reference at /usr/lib64/perl5/vendor_perl/5.8.8/MARC/Field.pm line 275.

I'm not familiar enough with Perl to figure out what the function is actually doing, so I can't figure out if this is a bug or if I missed something in the tutorial.  Other functions off of the $field variable work (I can pull the tag, indicator, and as_string functions).

Any thoughts are appreciated.

Justin
--
Justin Rittenhouse
Systems Support
Library Systems Department
Hesburgh Libraries
http://www.library.nd.edu/
(574) 631-3065
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.