Catman...ionship(3pm)
π Catman...ionship π
okay bestie, welcome to the manual page for Catman...ionship β she's part of the User Contributed Perl Documentation, and she's lowkey iconic. this is her whole vibe, no cap. π
β¨ NAME β¨
Catmandu::FedoraCommons::Model::purgeRelationship β it's a Perl model for the Fedora purgeRelationship REST call. that's the whole job. she does one thing and she does it slay. π
π¦ SYNOPSIS π¦
here's the whole moment, verbatim, don't touch a single character:
use Catmandu::FedoraCommons;
my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
my $obj = $fedora->purgeRelationship(pid => 'demo:29' , relation => [ 'info:fedora/demo:29' , 'http://my.org/name' , 'Peter'])->parse_content;
{
'purged' => 'upload://11'
}
so you spin up a Catmandu::FedoraCommons with new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin') β that's the URL plus the username plus the password, all cozy in one line πΈ β then you hit purgeRelationship with pid => 'demo:29' and a relation arrayref of [ 'info:fedora/demo:29' , 'http://my.org/name' , 'Peter'], and you .parse_content the whole thing like the main character you are.
and what do you get back? literally this:
{
'purged' => 'upload://11'
}
'purged' => 'upload://11'. that's it. that's the tea. π
π SEE ALSO π
Catmandu::FedoraCommonsβ go read her too, she's the parent energy behind all of this. iykyk. π
and that's the page bestie!! π«Ά this masterpiece lives in perl v5.36.0 and was blessed upon the world on 2023-02-05, under the title Catman...ionship(3pm) β the name?? honestly a relationship. the way this manpage ate and left no crumbs πβ¨ no notes, periodt. ππ
π¦ 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