Changes for version 0.015 - 2023-07-23
- [test] [bugfix] Add basic tests for all hooks, fix a couple of bugs (hooks previously not working).
- [doc] Various improvements to documentation, notably add documentation about hook ordering. Annotate code in Synopsis more. Remove mention of filter:: subnamespace and replace it with precheck:: and postcheck::.
- New hooks: debug::dump_source::{stderr,logger}.
Modules
Short alias for Require::HookChain
Chainable require hooks
Log a message to Log::ger
Dump loaded source code to STDERR
Log a message to Log::ger
Log a message to STDERR
Prepend a piece of code to module source
Specify a code to provide source code
Use a constant string as source code
Always fail a module loading
Do nothing when a module is loaded
Make module loading a no-op
Fail a module loading randomly
Record timestamp of each module's loading (uses Time::HiRes)
Record timestamp of each module's loading
A dummy module used in testing Require::HookChain
Another dummy module used in testing Require::HookChain
Provides
in lib/Require/HookChain.pm