Net::OAI::Record::OAI_DC - class for baseline Dublin Core support
The accessor methods are aware of their calling context (list,scalar) and will respond appropriately. For example an item may have multiple creators, so a call to creator() in a scalar context returns only the first creator; and in a list context all creators are returned.
# scalar context my $creator = $metadata->creator(); # list context my @creators = $metadata->creator();
To install Net::OAI::Base, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAI::Base
CPAN shell
perl -MCPAN -e shell install Net::OAI::Base
For more information on module installation, please visit the detailed CPAN module installation guide.