MooseX...Exports(3pm)

πŸ’– NAME πŸ’–

MooseX::Types::CheckedUtilExports β€” Wrap Moose::Util::TypeConstraints to be safer for MooseX::Types. This page is the MooseX...Exports(3pm) manual from User Contributed Perl Documentation, and it's lowkey a little safety rail for your type declarations.

✨ VERSION ✨

version 0.51 β€” that's the one, bestie.

🌸 DESCRIPTION 🌸

It prevents errors like:

subtype Foo =>
...

Which should be written as:

subtype Foo,
...

When using MooseX::Types. Exported by that module.

It 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.

These come from Moose::Util::TypeConstraints. See that module for syntax.

πŸ” SEE ALSO πŸ”

MooseX::Types β€” go look, iykyk.

πŸ›Ÿ SUPPORT πŸ›Ÿ

Bugs may be submitted through the RT bug tracker at https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Types (or email bug-MooseX-Types@rt.cpan.org, link form 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> β€” iconic behavior, honestly.

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.


Okay bestie, that's the whole vibe check πŸ’… β€” this page came from perl v5.42.0, dated 2025-07-25, and the manual name is MooseX...Exports(3pm). Slay and stay safe out there ✨🫢

πŸ“¦ where this page comes from