Catman...eObject(3pm)
π Catmandu::FedoraCommons::Model::purgeObject
okay bestie, so this is Catmandu::FedoraCommons::Model::purgeObject β a Perl model that's literally the glow-up wrapper for the Fedora purgeObject REST call. it's giving "delete that thing, respectfully" energy and honestly? iconic. π«Ά
β¨ SYNOPSIS β¨
here's the whole vibe, copy-paste ready, no notes:
use Catmandu::FedoraCommons;
my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
my $obj = $fedora->purgeObject(pid => 'demo:29')->parse_content;
{
'date' => '2013-02-08T10:09:09.273Z'
}
so you spin up a Catmandu::FedoraCommons with that new call β url, user, password, the whole trio β then you hit purgeObject with pid => 'demo:29', chain ->parse_content on it, and what comes back is that lil hashref with a date key. that's it. that's the whole flex. π
πΈ SEE ALSO πΈ
Catmandu::FedoraCommonsβ the main character this model lives under, go read it iykyk
and that's the tea π β this page is from perl v5.36.0, dated 2023-02-05, straight out of the User Contributed Perl Documentation. slay, bye bestie πβ¨
π¦ 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