The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

  use Catmandu::FedoraCommons;
  
  my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
  
  my $obj = $fedora->upload(file => 't/marc.xml')->parse_content;
  
  {
    'id' => 'upload://11'
  }
  

SEE ALSO

Catmandu::FedoraCommons