Aspect::Hook::LexWrap - Lexically scoped subroutine wrappers
This is Hook::LexWrap with a small change: instead of getting
(@_, $return) as their parameters, wrappers get
(\@_, $original, $return). This allows you to inject and remove parameters for the wrapped sub, and to call the original sub from the wrapper. Both are unsupported in the original.
Damian Conway (email@example.com)
See the Aspect pods for a guide to the Aspect module.
Copyright (c) 2001, Damian Conway. All Rights Reserved. This module is free software. It may be used, redistributed and/or modified under the same terms as Perl itself.