Catmandu::FedoraCommons::Model::modifyObject - Perl model for the Fedora 'modifyObject' REST call
use Catmandu::FedoraCommons; my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin'); my $obj = $fedora->modifyObject(pid => 'demo:29' , state => 'I')->parse_content; { 'date' => '2013-02-08T10:09:09.273Z' }
Catmandu::FedoraCommons
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.