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.
- new ( context => $that, action => $action, sender => $sender, [
key => val, ... ] )
- next ( )
- 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.
- quarantine ( )
- remove ( )
- store ( )
- Do nothing.
Sympa::Request, Sympa::Spool.
Sympa::Request::Collection appeared on Sympa 6.2.15.