Search results for "hook wrapsub"
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 - Search in distribution
anarch - A script for creating offline copies of websites
anarch is a script for creating offline copies of websites. It downloads a website, correcting links in pages and style sheets so that they are all relative (and all links outside the root directory are absolute), and removing '<base href>' tags. It ...
SPROUT/anarch-0.04 - 08 Nov 2009 21:49:37 UTC - Search in distribution
Test::MockClass - A module to provide mock classes and mock objects for testing
This module provides a simple interface for creating mock classes and mock objects with mock methods for mock purposes, I mean testing purposes. It also provides a simple mechanism for tracking the interactions to the mocked objects. I originally wro...
JJORDAN/Test-MockClass-1.05 - 25 Jan 2010 07:35:23 UTC - Search in distribution
Wrap::Sub - Object Oriented subroutine wrapper with pre and post hooks, and more.
This module allows you to wrap subroutines with pre and post hooks while keeping track of your wrapped subs. It also allows you to easily wrap all subs within a module (while filtering out the subs that are imported). Thanks to code taken out of Hook...
STEVEB/Wrap-Sub-0.06 - 04 Feb 2016 01:30:29 UTC - Search in distribution
Sub::Prepend - Prepend code to named subroutines.
"Sub::Prepend" simply conveniently prepends code to named subroutines without any risk of the wrapping itself breaks any existing code. Prepending means that "foo" and "bar" below are equivalent (barring "caller" in the prepended block): prepend foo ...
LODIN/Sub-Prepend-0.01 - 03 Jul 2008 19:02:18 UTC - Search in distribution
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 - Search in distribution
Genezzo::Havok - Cry Havok! And Let Slip the Dogs of War!
After database startup, the Havok subsystem runs arbitrary code to modify your Genezzo installation. WHY? Havok lets you construct novel, sophisticated extensions to Genezzo as "plug-ins". The basic Genezzo database kernel can remain small, and users...
JCOHEN/Genezzo-0.72 - 20 Nov 2007 09:13:43 UTC - Search in distribution
Hook::Filter - A runtime firewall for subroutine calls
Hook::Filter is a runtime firewall for subroutine calls. Hook::Filter lets you wrap one or more subroutines with a filter that either forwards calls to the subroutine or blocks them, depending on a number of rules that you define yourself. Each rule ...
ERWAN/Hook-Filter-0.10 - 26 Aug 2008 08:17:07 UTC - Search in distribution
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 - Search in distribution
Attribute::Method::Typeable - This module implements a series of attribute handler methods for use with function and method argument checking
This module implements a number of attribute handlers for use in argument checking. It provides attributes which differentiate between functions, public methods, protected methods, and private methods. It throws an exception in the case of an incorre...
JJORDAN/Attribute-Method-Typeable-1.09 - 20 Oct 2004 21:45:16 UTC - Search in distribution
Class::Decorator - Attach additional responsibilites to an object. A generic wrapper.
Decorator objects allow additional functionality to be dynamically added to objects. In this implementation, the user can supply two subroutine references (pre and post) to be performed before (pre) and after (post) any method call to an object (obj)...
NWETTERS/Class-Decorator-0.99 - 16 Sep 2002 17:44:37 UTC - Search in distribution
lib/PerlGuard/Agent/LexWrap.pm
READ FIRST This is a modified verison of Hook::LexWrap which has been modified to suit our purposes. The namespace change is purely to avoid conflicting with the original package and does not indicate any level of ownership. PerlGuard::Agent::LexWrap...
JONTAYLOR/PerlGuard-Agent-0.15 - 09 Feb 2016 16:37:29 UTC - Search in distribution