Search results for "dist:lib-noop lib"
lib::noop - no-op loading of some modules
Given a list of module names, it will make subsequent loading of those modules a no-op. It works by installing a require hook in @INC that looks for the specified modules to be no-op'ed and return "1;" as the source code for those modules. This makes...
PERLANCAR/lib-noop-0.006 - 06 Jun 2021 17:37:38 UTC
lib::noop::all - no-op loading of all modules
This pragma installs an @INC handler that will no-op all your subsequent module loading (via "use" or "require"). Instead of loading the module and executing its code, Perl will be tricked to just executing "1;". This pragma can be used for testing o...
PERLANCAR/lib-noop-0.006 - 06 Jun 2021 17:37:38 UTC
lib::noop::except - no-op loading of all modules except some
Given a list of module names, it will make subsequent loading of all but those modules a no-op. It works by installing a require hook in @INC and return "1;" as the source code for no-op'ed modules. This makes loading a no-op'ed module a success, eve...
PERLANCAR/lib-noop-0.006 - 06 Jun 2021 17:37:38 UTC
lib::noop::missing - no-op loading of missing modules
This pragma installs an @INC handler that will no-op module loading (via "use" or "require") for missing modules. In the case of module missing, Perl will be tricked to just execute "1;" and move on. This pragma can be used for testing or for "checki...
PERLANCAR/lib-noop-0.006 - 06 Jun 2021 17:37:38 UTC