MooseX::Types::TypeDecorator - More flexible access to a Type Constraint
This is a decorator object that contains an underlying type constraint. We use this to control access to the type constraint and to add some features.
This class defines the following methods.
Old school instantiation
Set/Get the type_constraint.
handle $self->isa since AUTOLOAD can't.
handle $self->can since AUTOLOAD can't.
have meta examine the underlying type constraints
properly delegate error messages
We might need it later
Delegate to the decorator targe
See "AUTHOR" in MooseX::Types.
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.
To install MooseX::Types, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types
CPAN shell
perl -MCPAN -e shell install MooseX::Types
For more information on module installation, please visit the detailed CPAN module installation guide.