Mailmunge::Action(3)

πŸ“¦ version 3.20, in alpine 3.24

✨ NAME ✨

okay so bestie, this is Mailmunge::Action(3) from the User Contributed Perl Documentation β€” the base class for Action and Test Mailmunge plugins. It's the little convenience class that simply hangs on to a copy of the current Mailmunge::Filter object. Very lowkey, very useful. πŸ’…


πŸ¦‹ ABSTRACT πŸ¦‹

This is a convenience base class that simply hangs on to a copy of the current Mailmunge::Filter object. That's literally the whole vibe: it's giving "base class for Action and Test Mailmunge plugins," and it exists so your plugin stuff can hang out with the filter object. 🫢


⭐ SYNOPSIS ⭐

Here's the exact setup, no cap:

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. That's the constructor doing its one job and slaying it. ✨


🌸 INSTANCE METHODS 🌸

πŸ’… filter() πŸ’…

Returns the Mailmunge::Filter object supplied to the constructor. Periodt. πŸŽ€


🫢 AUTHOR 🫢

Dianne Skoll β€” dianne@skollsoft.com. Iconic author behavior, fr fr. πŸ’–


🌈 LICENSE 🌈

This code is licensed under the terms of the GNU General Public License, version 2. That's the licensing vibe: GNU General Public License, version 2. πŸ“


okay that's the whole page. sign-off: perl v5.42.2, dated 2025-10-05 β€” love u, bye! πŸ’–βœ¨

πŸ“¦ where this page comes from