← Documentation Index

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 <dianne@skollsoft.com>

LICENSE

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

Copyright © 2024 Skoll Software Consulting