NAME
Fukurama::Class::Attributes::OOStandard::Decorator - Helper-class to decorate subroutines
VERSION
Version 0.01 (beta)
SYNOPSIS
package MyClass;
use Fukurama::Class::Attributes::OOStandard::Decorator();
my $helper = 'Fukurama::Class::Attributes::OOStandard::DefinitionCheck';
Fukurama::Class::Attributes::OOStandard::Decorator->decorate('CGI::param', \&CGI::param, $helper);
DESCRIPTION
A Helper class for Fukurama::Class::Attributes::OOStandard::DefinitionCheck to decorate subroutines with a subroutine to check parameters and return values and remove the decoration.
EXPORT
-
METHODS
- decorate( method_identifier:STRING, actual_code_reference:\CODE, definition_checker:CLASS) return:VOID
-
Decorates the given method with some parameter and return value checks.
- remove_decoration( method_identifier:STRING, actual_code_reference:\CODE ) return:VOID
-
Remove existing decorations for parameter and return value checks.
AUTHOR, BUGS, SUPPORT, ACKNOWLEDGEMENTS, COPYRIGHT & LICENSE
see perldoc of Fukurama::Class