NAME
Net::PMP::CollectionDoc::Link - link from a Net::PMP::CollectionDoc::Links object
SYNOPSIS
my $doc = $pmp_client->get_doc( $some_uri );
my $query_links = $doc->get_links('query');
my $query_for_docs = $query_links->rels("urn:collectiondoc:query:docs");
for my $link (@$query_for_docs) {
printf("link: %s [%s]\n", $link->title, $link->href);
}
DESCRIPTION
Net::PMP::CollectionDoc::Link represents a link in a Collection.doc+JSON PMP API response.
METHODS
hints
href
title
rels
vars
template
method
type
options
as_uri(options)
Applies options hashref against the template() value and returns a URI object.
as_hash
Returns object as Perl hashref.
AUTHOR
Peter Karman, <karman at cpan.org>
BUGS
Please report any bugs or feature requests to bug-net-pmp at rt.cpan.org
, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-PMP. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Net::PMP::CollectionDoc::Link
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
AnnoCPAN: Annotated CPAN documentation
CPAN Ratings
Search CPAN
ACKNOWLEDGEMENTS
American Public Media and the Public Media Platform sponsored the development of this module.
LICENSE AND COPYRIGHT
Copyright 2013 American Public Media Group
See the LICENSE file that accompanies this module.