Net::Sieve::Script::Action - parse and write actions in sieve scripts
use Net::Sieve::Script::Action; $action = Net::Sieve::Script::Action->new('redirect "bart@example.edu"');
or
$action = Net::Sieve::Script::Action->new(); $action->command('redirect'); $action->param('"bart@example.edu"');
Action object for Net::Sieve::Script, with command and optional param.
Support RFC 5228, RFC 5230 (vacation), regex draft
Argument : "command param" string,
parse valid commands from RFCs, param are not validate.
read command : $action->command()
$action->command()
set command : $action->command('stop')
$action->command('stop')
read param : $action->param()
$action->param()
set param : $action->param(' :days 3 "I am away this week."')
$action->param(' :days 3 "I am away this week."')
return 1 if actions are equals
Yves Agostini - Univ Metz - <agostini@univ-metz.fr>
http://www.crium.univ-metz.fr
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
To install Net::Sieve::Script, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Sieve::Script
CPAN shell
perl -MCPAN -e shell install Net::Sieve::Script
For more information on module installation, please visit the detailed CPAN module installation guide.