Test::...lugger(3pm)

πŸ“¦
version 0.0306 Β· 2 versions
, in fedora 43

πŸŽ€ 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