VS::RuleEngine::Hook::Perl - Use a code reference as an hook


VS-RuleEngine documentation  | view source Contained in the VS-RuleEngine distribution.

Index


NAME

Top

VS::RuleEngine::Hook::Perl - Use a code reference as an hook

INTERFACE

Top

CLASS METHODS

new ( CODE )

Creates a new instance. The argument CODE must be a reference to a subroutine - either anoynmous or named.

INSTANCE METHODS

invoke

Forwards the call to the wrapped subroutine.


VS-RuleEngine documentation  | view source Contained in the VS-RuleEngine distribution.