Moose::Meta::TypeConstraint - The Moose Type Constraint metaclass |
Moose::Meta::TypeConstraint - The Moose Type Constraint metaclass
For the most part, the only time you will ever encounter an instance of this class is if you are doing some serious deep introspection. This API should not be considered final, but it is highly unlikely that this will matter to a regular Moose user.
If you wish to use features at this depth, please come to the #moose IRC channel on irc.perl.org and we can talk :)
1
) if the $value
passes the
constraint, and false (0
) otherwise.
check
, but it deals with the error
message. If the $value
passes the constraint, undef
will be
returned. If the $value
does not pass the constraint, then
the message
will be used to construct a custom error message.
All complex software has bugs lurking in it, and this module is no exception. If you find a bug please either email me, or add the bug to cpan-RT.
Stevan Little <stevan@iinteractive.com>
Copyright 2006-2008 by Infinity Interactive, Inc.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Moose::Meta::TypeConstraint - The Moose Type Constraint metaclass |