DOKK / manpages / debian 11 / sympa / Sympa::Request::Collection.3sympa.en
Sympa::Request::Collection(3Sympa) sympa 6.2.60 Sympa::Request::Collection(3Sympa)

Sympa::Request::Collection - Collection of requests

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

Sympa::Request::Collection provides pseudo-spool to generate a set of Sympa::Request instances.

next() returns Sympa::Request instances.

Options given to new() are used to generate instances. If one of their value is arrayref, next() repeatedly generates instances over each array item.

Do nothing.

Sympa::Request, Sympa::Spool.

Sympa::Request::Collection appeared on Sympa 6.2.15.

2021-02-07 6.2.60