| Moose documentation | view source | Contained in the Moose distribution. |
Moose::Meta::TypeConstraint::Parameterizable - Type constraints which can take a parameter (ArrayRef)
version 2.0010
This class represents a parameterizable type constraint. This is a
type constraint like ArrayRef or HashRef, that can be
parameterized and made more specific by specifying a contained
type. For example, instead of just an ArrayRef of anything, you can
specify that is an ArrayRef[Int].
A parameterizable constraint should not be used as an attribute type constraint. Instead, when parameterized it creates a Moose::Meta::TypeConstraint::Parameterized which should be used.
Moose::Meta::TypeConstraint::Parameterizable is a subclass of
Moose::Meta::TypeConstraint.
This class is intentionally not documented because the API is confusing and needs some work.
See BUGS in Moose for details on reporting bugs.
Stevan Little <stevan@iinteractive.com>
This software is copyright (c) 2011 by Infinity Interactive, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
| Moose documentation | view source | Contained in the Moose distribution. |