Catmandu::FedoraCommons::Model::getRelationships - Perl model for the Fedora 'getRelationships' REST call
use Catmandu::FedoraCommons; my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin'); my $obj = $fedora->getRelationships(pid => 'demo:29')->parse_content; Returns a RDF::Trine::Model model
Catmandu::FedoraCommons RDF::Trine::Model
To install Catmandu::FedoraCommons, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Catmandu::FedoraCommons
CPAN shell
perl -MCPAN -e shell install Catmandu::FedoraCommons
For more information on module installation, please visit the detailed CPAN module installation guide.