Manpage logo

Mailmunge::Action - base class for Action and Test Mailmunge plugins

NAME  ABSTRACT  SYNOPSIS  CLASS METHODS  Mailmunge::Action−>new($filter)  INSTANCE METHODS  filter()  AUTHOR  LICENSE 

NAME

Mailmunge::Action − base class for Action and Test Mailmunge plugins

ABSTRACT

This is a convenience base class that simply hangs on to a copy of the current Mailmunge::Filter object.

SYNOPSIS

package MyAction;
use base qw(Mailmunge::Action);
sub my_action_functionality { ... };
# And then inside your filter...
my $action = MyAction−>new($self);
$action−>my_action_functionality($ctx);

CLASS METHODS

Mailmunge::Action−>new($filter)

Constructs a new Mailmunge::Action object and stores a copy of $filter in it

INSTANCE METHODS

filter()

Returns the Mailmunge::Filter object supplied to the constructor.

AUTHOR

Dianne Skoll <[email protected]>

LICENSE

This code is licensed under the terms of the GNU General Public License, version 2.


Updated 2026-06-01 - jenkler.se | uex.se