Dave Rolsky > MooseX-Types-0.35 > MooseX::Types::CheckedUtilExports

Download:
MooseX-Types-0.35.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  6
Open  3
Stalled  1
View/Report Bugs
Module Version: 0.35   Source   Latest Release: MooseX-Types-0.44

NAME ^

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

VERSION ^

version 0.35

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

LICENSE ^

This program is free software; you can redistribute it and/or modify it under the same terms as perl itself.

AUTHOR ^

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

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 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.

syntax highlighting: