Class::MOP::Method::Wrapped - Method Meta Object to handle before/around/after modifiers
This is a Class::MOP::Method subclass which provides the funtionality to wrap a given CODE reference with before, after and around method modifiers.
This is the constructor, it will return a Class::MOP::Method::Wrapped instance that can be used to add before, after and around modifiers to.
This returns the original CODE reference that was provided to the constructor.
These three methods will add the method modifiers to the wrapped CODE reference. For more information on how method modifiers work, see the section in Class::MOP::Class.
Stevan Little <stevan@iinteractive.com>
Copyright 2006-2008 by Infinity Interactive, Inc.
http://www.iinteractive.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Class::MOP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::MOP
CPAN shell
perl -MCPAN -e shell install Class::MOP
For more information on module installation, please visit the detailed CPAN module installation guide.