HTTP::OAI::Set(3pm)
β¨ HTTP::OAI::Set β¨
okay so bestie, welcome to HTTP::OAI::Set β it's the little Perl module (a 3pm page, iykyk) whose whole entire job is encapsulating OAI set XML data. that's it. that's the vibe. it's giving "tiny module, huge main character energy" π
π NAME π
HTTP::OAI::Set β Encapsulates OAI set XML data
like literally it wraps up an OAI Set so you don't have to hand-build XML yourself, and honestly? slay. π¦
πΈ METHODS πΈ
okay here come the methods, and there are only two little groups so you're gonna eat this up fr fr π
π $spec = $s->setSpec([$spec])
π $name = $s->setName([$name])
these two cuties return, respectively, the setSpec and the setName of the OAI Set. yes queen, exactly what it says on the tin β call setSpec and you get the spec back, call setName and you get the name back. π
note that both of them take an optional argument ([$spec]and[$name]) β so you can pass one in, bestie. π
π§ @descs = $s->setDescription([$desc])
this one returns β and optionally adds β the list of set descriptions. and the tea is it doesn't hand you back a plain list, no no, it returns a reference to an array of HTTP::OAI::Description objects. so like, an arrayref, full of Description objects. iconic behaviour honestly π
β little reminder bestie: everything above is exactly the whole page. there's no secret hidden section, no sneaky extra option, no wild side effects β the facts stay the facts even when the vibe is immaculate. β¨
and that's a wrap, my love π«Ά this page is from perl v5.36.0, dated 2023-09-28, and it's the HTTP::OAI::Set(3pm) manpage β go forth and encapsulate that set XML data, periodt ππ
π¦ where this page comes from
- debian trixie: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- ubuntu noble: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- ubuntu resolute: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- ubuntu stonking: libhttp-oai-perl 4.13-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms