Rechercher une page de manuel
MooseX::Types::TypeDecorator.3pm
Langue: en
Version: 2010-06-01 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
MooseX::Types::TypeDecorator - More flexible access to a Type ConstraintDESCRIPTION
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.METHODS
This class defines the following methods.new
Old school instantiation__type_constraint ($type_constraint)
Set/Get the type_constraint.isa
handle $self->isa since AUTOLOAD can't.can
handle $self->can since AUTOLOAD can't.meta
have meta examine the underlying type constraints_throw_error
properly delegate error messagesDESTROY
We might need it laterAUTOLOAD
Delegate to the decorator targeAUTHOR
See ``AUTHOR'' in MooseX::Types.LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre