Net::Sieve::Script::Action(3pm)

Net::Sieve::Script::Action3pm

Parse and write actions in sieve scripts

Usage

  use Net::Sieve::Script::Action;
  $action = Net::Sieve::Script::Action->new('redirect "[email protected]"');

or

  $action = Net::Sieve::Script::Action->new();
  $action->command('redirect');
  $action->param('"[email protected]"');

Overview

Action object for Net::Sieve::Script, with command and optional param.

Support RFC 5228, RFC 5230 (vacation), regex draft

Methods

CONSTRUCTOR new

 Argument : "command param" string,

parse valid commands from RFCs, param are not validate.

command

read command : "$action->command()"

set command : "$action->command('stop')"

param

read param : "$action->param()"

set param : "$action->param(' :days 3 "I am away this week."')"

equals

return 1 if actions are equals

Releases

9 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0–9
  3. 10–11
  4. 12–13

Author

Yves Agostini - <[email protected]>

From libnet-sieve-script-perl 0.09-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.