libhook-wrapsub-perl

module to wrap subs with pre- and post-call hooks

Description

Hook::WrapSub 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.

The wrap_subs() function enables intercepting a call to any named function; handlers may be added both before and after the call to the intercepted function.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://metacpan.org/release/Hook-WrapSub


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install libhook-wrapsub-perl