MooseX::Meta::TypeCoercion::Parameterizable - Coerce Parameterizable type constraints.
Coercion Meta Class, intended to make sure coercions work correctly with parameterized types. You probably won't consume or subclass this class directly
This class defines the following methods.
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!
The following modules or resources may be of interest.
Moose, Moose::Meta::TypeCoercion
John Napiorkowski, <jjnapiork@cpan.org>
<jjnapiork@cpan.org>
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install MooseX::Types::Parameterizable, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types::Parameterizable
CPAN shell
perl -MCPAN -e shell install MooseX::Types::Parameterizable
For more information on module installation, please visit the detailed CPAN module installation guide.