MooseX::Types::CheckedUtilExports - Wrap Moose::Util::TypeConstraints to be safer for MooseX::Types
version 0.27
Prevents errors like:
subtype Foo => ...
Which should be written as:
subtype Foo, ...
When using MooseX::Types. Exported by that module.
Exports checked versions of the following subs:
type subtype maybe_type duck_type enum coerce from as
type
subtype
maybe_type
duck_type
enum
coerce
from
as
While class_type and role_type will also register the type in the library.
class_type
role_type
From Moose::Util::TypeConstraints. See that module for syntax.
MooseX::Types
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.
Robert "phaylon" Sedlacek <rs@474.at>
This software is copyright (c) 2011 by Robert "phaylon" Sedlacek.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MooseX::Types, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MooseX::Types
CPAN shell
perl -MCPAN -e shell install MooseX::Types
For more information on module installation, please visit the detailed CPAN module installation guide.