Catman...astream(3pm)
π Catmandu::FedoraCommons::Model::purgeDatastream β bestie edition β¨
okay so this page lives in section 3pm (perl module territory, we love her), and her full government name is Catmandu::FedoraCommons::Model::purgeDatastream β a Perl model for the Fedora purgeDatastream REST call. yes the whole vibe is "talk to Fedora, yeet a datastream." no cap. π
β¨ NAME β¨
Catmandu::FedoraCommons::Model::purgeDatastream β it's a Perl model for the Fedora purgeDatastream REST call. that's it, that's the whole job. iconic behavior honestly π
π¦ SYNOPSIS π¦
here's how you actually use her, copied exactly, no edits, periodt:
use Catmandu::FedoraCommons;
my $fedora = Catmandu::FedoraCommons->new('http://localhost:8080/fedora','fedoraAdmin','fedoraAdmin');
my $obj = $fedora->purgeDatastream(pid => 'demo:29', dsID => 'TEST')->parse_content;
[
'2013-02-08T10:18:21.019Z'
];
so like β you spin up a Catmandu::FedoraCommons object pointing at http://localhost:8080/fedora with the username fedoraAdmin and the password fedoraAdmin (yes, same string twice, we're not judging, it's a localhost demo π«Ά). then you call purgeDatastream with pid => 'demo:29' and dsID => 'TEST', chain ->parse_content on it, and what comes back is that little array with the timestamp '2013-02-08T10:18:21.019Z' in it. the way that timestamp is just sitting there alone in a list π she ate and left no crumbs.
lowkey reminder bestie: that's the example exactly as the docs show it β don't go rewriting thepidor thedsIDand then act surprised when Fedora is confused π
πΈ SEE ALSO πΈ
Catmandu::FedoraCommonsβ the parent vibe, go read her too, iykyk π
and that's the whole page, we're done here!! this gem was documented for perl v5.36.0, dated 2023-02-05, and filed under that very mysterious truncated name Catman...astream(3pm) β like girl, your name got cut off mid-sentence, but we know exactly who you are πβ¨ mwah, 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