Scroll to navigation

MooseX::Types::CheckedUtilExports(3pm) User Contributed Perl Documentation MooseX::Types::CheckedUtilExports(3pm)

NAME

MooseX::Types::CheckedUtilExports - Wrap Moose::Util::TypeConstraints to be safer for MooseX::Types

VERSION

version 0.50

DESCRIPTION

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::Types

SUPPORT

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types> (or bug-MooseX-Types@rt.cpan.org <mailto:bug-MooseX-Types@rt.cpan.org>).

There is also a mailing list available for users of this distribution, at <http://lists.perl.org/list/moose.html>.

There is also an irc channel available for users of this distribution, at "#moose" on "irc.perl.org" <irc://irc.perl.org/#moose>.

AUTHOR

Robert "phaylon" Sedlacek <rs@474.at>

COPYRIGHT AND LICENCE

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.

2022-06-16 perl v5.34.0