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

Langue: en

Version: 2009-03-27 (fedora - 05/07/09)

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

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.

AUTHOR

Stevan Little <stevan@iinteractive.com> Copyright 2006-2009 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.