Whenever a type handle function (e.g. Int() can't find a type constraint under it's full name, it assumes it has not yet been defined. It will then return an instance of this class, handling only stringification, name and possible identification of undefined types.
Int()
Later, when you try to use the Undefined Type Constraint, autovivification will be attempted.
Takes a full type name as argument and returns an instance of this class.
Returns the stored type name.
Try to see if the type constraint has yet been defined and if so create it.
Make sure that if a type hasn't been defined yet when Moose wants to inline it, we don't allow inlining.
Try to autovivify and delegate
Moose::Meta::TypeConstraint::Parameterizable complains if this isn't here. TODO to find out why.
MooseX::Types::Moose, Moose::Util::TypeConstraints, Moose::Meta::TypeConstraint, Carp::Clan
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.