Catman...ingest(3pm)
β¨ NAME β¨
Catmandu::FedoraCommons::Model::ingest β bestie, it's literally the Perl model for the Fedora ingest REST call π«Ά
πΈ SYNOPSIS πΈ
okay so here's the whole vibe, copy it exactly, no cap:
use Catmandu::FedoraCommons;
my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
my $obj = $fedora->ingest(pid => 'demo:40', file => 't/obj_demo_40.zip', format => 'info:fedora/fedora-system:ATOMZip-1.1')->parse_content;
{
'pid' => 'demo:40'
}
likeβ¦ you build a Catmandu::FedoraCommons pointing at your Fedora, you ingest a file with a pid and a format, you parse_content, and boom π₯ you get back a lil hash with the pid in it. That's it. That's the whole thing. Iconic behaviour fr fr β¨
π SEE ALSO π
Catmandu::FedoraCommonsβ the parent, the main character, the one you actually want to go read next π
and that's the page, bestie!! π this was perl v5.36.0, dated 2023-02-05, and it's a User Contributed Perl Documentation joint β go forth and ingest responsibly, mwah ππ¦
π¦ where this page comes from
- debian bookworm: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcatmandu-fedoracommons-perl 0.5-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms