DOKK / manpages / debian 12 / libcatmandu-fedoracommons-perl / Catmandu::FedoraCommons::Model::pidList.3pm.en
Catmandu::FedoraCommons::Model::pidList(3pm) User Contributed Perl Documentation Catmandu::FedoraCommons::Model::pidList(3pm)

Catmandu::FedoraCommons::Model::pidList - Perl model for the Fedora 'getNextPID' REST call

  use Catmandu::FedoraCommons;
  
  my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
  
  my $obj = $fedora->getNextPID()->parse_content;
  
  [
    'changeme:102'
  ]

Catmandu::FedoraCommons

2023-02-05 perl v5.36.0