John Napiorkowski > MooseX-Types-Parameterizable-0.08 > MooseX::Meta::TypeCoercion::Parameterizable

Download:
MooseX-Types-Parameterizable-0.08.tar.gz

Annotate this POD

Website

CPAN RT

New  2
Open  1
View/Report Bugs
Source  

NAME ^

MooseX::Meta::TypeCoercion::Parameterizable - Coerce Parameterizable type constraints.

DESCRIPTION ^

Coercion Meta Class, intended to make sure coercions work correctly with parameterized types. You probably won't consume or subclass this class directly

METHODS ^

This class defines the following methods.

add_type_coercions

method modification to throw exception should we try to add a coercion on a parameterizable type that is already defined by a constraining value. We do this since defined parameterizable type constraints inherit their coercion from the parent constraint. It makes no sense to even be using parameterizable types if you know the constraining value beforehand!

SEE ALSO ^

The following modules or resources may be of interest.

Moose, Moose::Meta::TypeCoercion

AUTHOR ^

John Napiorkowski, <jjnapiork@cpan.org>

COPYRIGHT & LICENSE ^

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

syntax highlighting: