SRU::R...e::Scan(3pm)
β¨ NAME β¨
okay so bestie, welcome to SRU::Response::Scan β she's a class for representing SRU scan responses, and she's coming to you straight out of the User Contributed Perl Documentation, page SRU::R...e::Scan(3pm). π
πΈ SYNOPSIS πΈ
SRU::Response::Scan is a class for representing an SRU scan response. fr fr, here's the vibe: a scan request lets SRU clients browse the indexes of an SRU server, kinda like how you'd flip to the back of a book and scan the index to find particular terms in the body of the book. πβ¨ And then the scan response? She bundles up all the terms that got looked up. iconic behaviour honestly.
π¦ DESCRIPTION π¦
(no cap, this section is just vibing empty in the original β nothing here, bestie, moving on π)
π METHODS π
π new()
The constructor, babes. You must pass it a valid SRU::Request::Scan object. that's the whole assignment. no exceptions, periodt.
β version()
she's here. she exists. (that's the whole bit π«Ά)
π addTerm()
Lets you add terms to the response object. π« Any terms you pass in must be valid SRU::Response::Term objects, no substitutes bestie:
$response->addTerm( SRU::Response::Term->new( value => 'Foo Fighter' ) );
π terms()
Get/set the terms associated with the response. β οΈ but be careful β you must pass in an array ref of SRU::Response::Term objects, or expect an array ref back when you're getting the values. And if you don't? bad things will happen. π I'm not being dramatic, that's literally what it says. respect the array ref.
π§ diagnostics()
π extraResponseData()
π echoedScanRequest()
β¨ asXML()
(all four of these are just sitting there in the method list with zero description, bestie β they're real, they're listed, that's all the lore we got π)
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2013 by Ed Summers. π«Ά
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay.
and that's the whole page bestie!! π this one's running on perl v5.34.0, dated 2022-06-17, and it lives at SRU::R...e::Scan(3pm). go forth and scan those indexes, you absolute icon πβ¨
π¦ where this page comes from
- debian bookworm: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsru-perl 1.01-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsru-perl 1.01-3 Β· 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