Test::...Plugins(3pm)

πŸ“¦
version 0.039 Β· 4 versions
, in ubuntu stonking

πŸ’– 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::MockFile
  • Test::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