Rechercher une page de manuel
MooseX::Types::CheckedUtilExports.3pm
Langue: en
Version: 2010-06-01 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
MooseX::Types::CheckedUtilExports - Wrap Moose::Util::TypeConstraints to be safer for MooseX::TypesDESCRIPTION
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"
While "class_type" and "role_type" will also register the type in the library.
From Moose::Util::TypeConstraints. See that module for syntax.
SEE ALSO
MooseX::TypesAUTHOR
See ``AUTHOR'' in MooseX::Types.LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre