Mailmunge::Test − base class for Mailmunge Test plugins
This is a convenience base class that simply hangs on to a copy of the current Mailmunge::Filter object.
package MyTest;
use base qw(Mailmunge::Test);
sub my_test_functionality { ... };
# And then inside your filter...
my $test = MyTest−>new($self);
my $result =
$test−>my_test_functionality($ctx);
All methods are inherited from Mailmunge::Action
Dianne Skoll <[email protected]>
This code is licensed under the terms of the GNU General Public License, version 2.