SYMPA::REQUEST::COLLECTION(3Sympa)

πŸ’– NAME πŸ’–

Sympa::Request::Collection β€” bestie, it's literally a Collection of requests. That's the whole vibe. πŸŽ€


✨ SYNOPSIS ✨

use Sympa::Request::Collection;
$spool = Sympa::Request::Collection->new(
    context => $list, action => $action, sender => $sender,
    key1 => $val1, key2 => [$val2]);
($request, $handle) = $spool->next;

See how easy that was?? iconic. πŸ’…


🌸 DESCRIPTION 🌸

okay so listen. Sympa::Request::Collection is a pseudo-spool whose whole job β€” its entire main character arc β€” is generating a set of Sympa::Request instances. Not one. A whole lil squad. 🫢

πŸ¦‹ Methods πŸ¦‹

  • new ( context => $that, action => $action, sender => $sender, [ key => val, ... ] ) β€” the constructor, the birthing moment, the debut. πŸ’«
  • next ( ) β€” and this one returns Sympa::Request instances.

ngl here's the tea: the options you handed over to new() are the ones used to generate those instances. And if any of their values is an arrayref? say less β€” next() will just keep repeatedly generating instances over each array item. one at a time, no cap. πŸ“

  • quarantine ( ) β€” does nothing.
  • remove ( ) β€” does nothing.
  • store ( ) β€” does nothing.
fr fr, those last three are just vibing. They do nothing. That's not a bug, that's them. πŸ’€

🌈 SEE ALSO 🌈

  • Sympa::Request
  • Sympa::Spool

go read those next bestie, iykyk 😌


πŸ‘‘ HISTORY πŸ‘‘

Sympa::Request::Collection appeared on Sympa 6.2.15. a legend was born. ✨


and that's the whole page, bestie!! this was sitting in the sympa manual at version 6.2.80, dated 2026-10-19. slay, go build something cute with it πŸ’–πŸ¦‹πŸŒΈπŸŽ€

πŸ“¦ where this page comes from