Mailmunge::Test(3)

πŸ“¦ version 3.20, in alpine 3.24

πŸ’– Mailmunge::Test πŸ’–

okay so bestie, welcome to Mailmunge::Test β€” that's the page from the User Contributed Perl Documentation section of the manual, and it's genuinely one of the chillest little modules you'll ever meet 🫢

✨ NAME ✨

Mailmunge::Test β€” the base class for Mailmunge Test plugins. that's it, that's the whole vibe πŸ’…

πŸŽ€ ABSTRACT πŸŽ€

okay so listen: this is a convenience base class, and its whole personality is that it simply hangs on to a copy of the current Mailmunge::Filter object. no cap, that's the entire job. it's giving "trusted sidekick holding your stuff while you do the real work" energy πŸ‘‘

🌸 SYNOPSIS 🌸

here's the whole thing, bestie, copy it exactly:

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);

like β€” you subclass it, you write whatever test functionality you want, then inside your filter you construct it with MyTest->new($self) and call your method on it with $ctx. iconic behavior, no notes 🌈

πŸ¦‹ METHODS πŸ¦‹

so the methods situation is lowkey the funniest part: all methods are inherited from Mailmunge::Action. that's it. there's nothing new here, she's just standing on her ancestor's shoulders. main character energy by association πŸ’€βœ¨

πŸ’œ AUTHOR πŸ’œ

Dianne Skoll <dianne@skollsoft.com> β€” ty queen, fr fr πŸ™πŸŒΈ

⭐ LICENSE ⭐

this code is licensed under the terms of the GNU General Public License, version 2. read it, respect it, love it πŸ’–


and that's the page bestie!! πŸŽ€ mwah πŸ’‹ β€” this one's from perl v5.42.2, dated 2025-10-05, straight out of the User Contributed Perl Documentation corner of the universe. go forth and subclass responsibly πŸ¦‹πŸ‘‘

πŸ“¦ where this page comes from