MooseX::Types::CheckedUtilExports - Wrap L<Moose::Util::TypeConstraints> to be safer for L<MooseX::Types> |
MooseX::Types::CheckedUtilExports - Wrap the Moose::Util::TypeConstraints manpage to be safer for the MooseX::Types manpage
version 0.46
Prevents errors like:
subtype Foo => ...
Which should be written as:
subtype Foo, ...
When using the MooseX::Types manpage. Exported by that module.
Exports checked versions of the following subs:
type
subtype
maybe_type
duck_type
enum
coerce
from
as
While class_type
and role_type
will also register the type in the library.
From the Moose::Util::TypeConstraints manpage. See that module for syntax.
Robert ``phaylon'' Sedlacek <rs@474.at>
This software is copyright (c) 2007 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.
MooseX::Types::CheckedUtilExports - Wrap L<Moose::Util::TypeConstraints> to be safer for L<MooseX::Types> |