Catmandu::FedoraCommons::Model::getDatastreamDissemination - Perl model for the Fedora 'getDatastreamDissemination' or 'getDissemination' REST call
use Catmandu::FedoraCommons; my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin'); my $obj = $fedora->purgeDatastream(pid => 'demo:29', dsID => 'TEST')->parse_content; Returns the bytes returned.
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.