Sponsor:

Your company here, and a link to your site. Click to find out more.

Sympa::Request::Collection.3Sympa - Man Page

Collection of requests

Synopsis

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

Description

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

Methods

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.

See Also

Sympa::Request, Sympa::Spool.

History

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

Info

2023-07-22 sympa 6.2.72