SRU::R...e::Scan(3pm)

πŸ“¦
version 1.01 Β· 2 versions
  • 1.01 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.01 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ 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 πŸ’€)

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