Test::...Plugins(3pm)
π Test::MockFile::Plugins β the plugin loader bestie π
okay so real talk, this page is Test::...Plugins(3pm) from the User Contributed Perl Documentation collection, and it's giving short but mighty. Like, it's a tiny page but it's holding up the whole plugin ecosystem, no cap. π«Ά
β¨ NAME β¨
Test::MockFile::Plugins β it's the plugin loader. that's the whole job description. iconic. π
πΈ SYNOPSIS πΈ
here's the vibe, literally copy-paste energy:
use Test::MockFile::Plugins;
unshift @Test::MockFile::Plugins::NAMESPACES, q[Your::NameSpace];
Test::MockFile::Plugins::load_plugins( 'YourPlugin' );
so you pull in the module, you shove your own namespace onto the front of @Test::MockFile::Plugins::NAMESPACES (yes, unshift, we're going to the front of the line, main character behavior π
), and then you call Test::MockFile::Plugins::load_plugins( 'YourPlugin' ) and boom. plugins loaded. slay.
π¦ DESCRIPTION π¦
Test::MockFile::Plugins is, and I cannot stress this enough, responsible for loading plugins. that's it. that's the function. it loads the plugins. π
β οΈ BETA WARNING: this is a preliminary plugins implementation. it might change in the future. so likeβ¦ don't build your entire personality on it just yet, bestie. it could shift under you. π
π METHODS π
π load_plugin( $plugin_name )
look at her go:
Test::MockFile::Plugins::load_plugin( 'YourPlugin' );
you hand it a plugin name, it loads the plugin. tidy. efficient. obsessed. β¨
π SEE ALSO π
Test::MockFileTest::MockFile::Plugin
go read those too, they're the supporting cast and they ate. π
and that's the whole page, fr fr. shoutout to perl v5.40.1 and the date stamp 2026-03-27 for making it official β this queen came from the Test::...Plugins(3pm) page and she's thriving. bye bestie, go load some plugins π§ππ
π¦ where this page comes from
- ubuntu stonking: libtest-mockfile-perl 0.039-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms