HTTP::OAI::ListMetadataFormats - Provide access to an OAI ListMetadataFormats response
my $r = $h->ListMetadataFormats; # ListMetadataFormats doesn't use flow control while( my $rec = $r->next ) { print $rec->metadataPrefix, "\n"; } die $r->message if $r->is_error;
This constructor method returns a new HTTP::OAI::ListMetadataFormats object.
Returns either an HTTP::OAI::MetadataFormat object, or undef, if no more records are available.
Returns the metadataFormat list and optionally adds a new metadataFormat, $mdf. Returns an array ref of HTTP::OAI::MetadataFormats.
Returns a XML::DOM object representing the ListMetadataFormats response.
To install HTTP::OAI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::OAI
CPAN shell
perl -MCPAN -e shell install HTTP::OAI
For more information on module installation, please visit the detailed CPAN module installation guide.