Hook::Scope - Perl extension for adding hooks for exiting a scope River stage zero No dependents

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 GMT

Hook::Heckle - create pre and post hooks River stage zero No dependents

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 GMT

Hook::WrapSub - wrap subs with pre- and post-call hooks River stage one • 1 direct dependent • 2 total dependents

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...

NEILB/Hook-WrapSub-0.07 - 04 Feb 2016 20:36:08 GMT

Hook::LexWrap - Lexically scoped subroutine wrappers River stage four • 25 direct dependents • 1748 total dependents

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 GMT

Hook::AfterRuntime - Run code at the end of the compiling scope's runtime. River stage one • 7 direct dependents • 9 total dependents

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 GMT

Hook::Output::File - Redirect STDOUT/STDERR to a file River stage zero No dependents

"Hook::Output::File" redirects "STDOUT/STDERR" to a file....

SCHUBIGER/Hook-Output-File-0.08 - 29 Apr 2016 11:32:13 GMT

6 results (0.024 seconds)