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

# [DESCRIPTION](#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](#SEE_ALSO)

MooseX::Types

2026-04-22 perl v5.42.2

---

Document: MooseX::Types::CheckedUtilExports(3pm) from perl-moosex-types 0.51-r1 (Chainguard OS)
Source: https://github.com/moose/MooseX-Types
