Search results for "module:Hook::Scope"
Hook::Scope - Perl extension for adding hooks for exiting a scope
POST "POST" takes a reference to a subroutine or a subroutine name and will register that subroutine to be executed when the scope is left. Note that even if the scope is left using die(), the subroutine will be executed. EXPORT None by default. POST...
ABERGMAN/Hook-Scope-0.04 - 01 Jan 2003 20:17:58 UTC
Hook::Heckle - create pre and post hooks
Creating hooks to subroutines is issued by many other cpan modules. See * Class::Hook * Hook::Scope * Hook::WrapSub * Hook::LexWrap * Hook::PrePostCall But this didnt kept me from writing a new one. It is a base class and can be inherited. CLASSES Ho...
MUENALAN/Hook-Heckle-0.01.01 - 17 Feb 2003 23:35:21 UTC
Hook::WrapSub - wrap subs with pre- and post-call hooks
This module lets you wrap a function, providing one or both of functions that are called just before and just after, whenever the wrapped function is called. There are a number of other modules that provide the same functionality as this module, some...
JANITOR/Hook-WrapSub-0.08 - 02 Jul 2021 08:31:14 UTC
Hook::LexWrap - Lexically scoped subroutine wrappers
Hook::LexWrap allows you to install a pre- or post-wrapper (or both) around an existing subroutine. Unlike other modules that provide this capacity (e.g. Hook::PreAndPost and Hook::WrapSub), Hook::LexWrap implements wrappers in such a way that the st...
ETHER/Hook-LexWrap-0.26 - 23 Feb 2017 05:43:36 UTC
Hook::AfterRuntime - Run code at the end of the compiling scope's runtime.
Useful for creating modules that need a behavior to be added when a module that uses them completes its runtime. Like B::Hooks::EndOfScope except it triggers for run-time instead of compile-time. An example where it might be handy: #!/usr/bin/perl us...
PTC/Hook-AfterRuntime-0.006 - 10 May 2018 10:05:06 UTC
Hook::Output::File - Redirect STDOUT/STDERR to a file
"Hook::Output::File" redirects "STDOUT/STDERR" to a file....
SCHUBIGER/Hook-Output-File-0.09 - 27 Feb 2023 19:43:25 UTC
Require::Hook::More - Load module like perl, with more options
This require hook behaves like perl when loading modules from (the rest of the) @INC. Read "require" in perlfunc for more details. basically perl supports having scalar (directory names), or scalarref, or globref (filehandle), or coderef, or objects ...
PERLANCAR/Require-Hook-More-0.001 - 04 Jan 2020 05:31:55 UTC