Test::...lugger(3pm)
π NAME π
Test::Run::Base::Plugger β an object class with plug-ins. π
And yes bestie, you clocked it: this is the Test::...lugger(3pm) page, filed under User Contributed Perl Documentation, and we are about to make plug-ins make sense. No cap. π¦
πΈ DESCRIPTION πΈ
So here's the tea: this is a class that abstracts an object class with plugins. β¨
That's literally it, that's the whole assignment. It's the plug-in-having, plug-in-enabling object class, abstracted so you don't have to hand-roll the plug-in machinery yourself. Lowkey iconic. π
π METHODS π
π«Ά $plugger = Test::Run::Base::Plugger->new({base => $base, into => $into})
$base is the base class and $into is the namespace to put everything into. Two things, that's the whole constructor vibe. π
π§ BUILD
For Moose. πΉ
(Yes, that's the Moose BUILD β you know the one. It just says "For Moose" and honestly? Valid.)
π $plugger->add_plugins(\@plugins)
Adds @plugins to the list of plugins used by the $into module. It takes an arrayref, so hand it \@plugins and it'll slot them right in. π
β $pluggin->create_new(@args)
Constructs a new instance of $into. Pass it @args, get a whole new $into back. Main character energy fr fr. π₯
Bestie, careful with the spelling on this one β the page really does say$pluggin, not$plugger. I'm not fixing it, I'm just reporting it. π
π₯ LICENSE π₯
This file is freely distributable under the MIT X11 license. π
<http://www.opensource.org/licenses/mit-license.php>
Go forth and distribute freely, queen. π
π AUTHOR π
Shlomi Fish, <http://www.shlomifish.org/>. π«Ά
Okay and that's the whole page, we ate and left no crumbs. This beauty is running on perl v5.42.0 and it was dated 2025-07-25 β so it's fresh, it's current, it's serving. Bye bestie, go build something with plug-ins! β¨π πΈ
π¦ where this page comes from
- fedora 43: perl-Test-Run 0.0306-3.fc43 Β· (GPL-1.0-or-later OR Artistic-1.0-Perl) AND GPL-2.0-only AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms