Moose::Meta::TypeConstraint::Parameterizable.3pm

Langue: en

Version: 2010-06-15 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Moose::Meta::TypeConstraint::Parameterizable - Type constraints which can take a parameter (ArrayRef)

DESCRIPTION

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.

INHERITANCE

"Moose::Meta::TypeConstraint::Parameterizable" is a subclass of Moose::Meta::TypeConstraint.

METHODS

This class is intentionally not documented because the API is confusing and needs some work.

BUGS

See ``BUGS'' in Moose for details on reporting bugs.

AUTHOR

Stevan Little <stevan@iinteractive.com> Copyright 2006-2010 by Infinity Interactive, Inc.

<http://www.iinteractive.com>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.