Type::C...romMoose(3)

πŸ’– Type::Coercion::FromMoose πŸ’–

okay bestie, welcome to the Type::Coercion::FromMoose page β€” it's part of the User Contributed Perl Documentation, and it's literally a little grab-bag of coercions that got borrowed straight from Moose. πŸ¦‹


✨ NAME ✨

Type::Coercion::FromMoose β€” a whole set of coercions borrowed from Moose. that's it, that's the name, no cap. πŸ’…


🚦 STATUS 🚦

so this module is considered part of Type-Tiny's internals. meaning?? it's not covered by the Type-Tiny stability policy. read that twice, bestie β€” the API here can wiggle around whenever it wants and nobody promised you otherwise. 😭


🌸 DESCRIPTION 🌸

okay so this package inherits from Type::Coercion β€” go read that one for most of the docs, fr fr. this page is just the glow-up differences.

the major differences, in bullet form because we love structure:

  • add_type_coercions always throws an exception. always. no exceptions. (well. only exceptions.) πŸ’€
  • the type_coercion_map is automatically populated from Moose. you don't do it, it just happens. main character energy. πŸ‘‘

and yeah, this is mostly for internal purposes. it's giving backstage-pass-only. πŸŽ€


πŸ› BUGS πŸ›

found a bug? pls pls pls report it, don't just suffer in silence:

https://github.com/tobyink/p5-type-tiny/issues

(yeah, that's the link, go click it, the maintainers want to hear from you 🫢)


πŸ‘€ SEE ALSO πŸ‘€

the lore runs deep, here's the required reading:

  • Type::Coercion.
  • Moose::Meta::TypeCoercion.

🧚 AUTHOR 🧚

Toby Inkster <tobyink@cpan.org>. icon, legend, the moment. ✨


this software is copyright (c) 2013-2014, 2017-2025 by Toby Inkster.

it's free software β€” you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay. 🌈


⚠️ DISCLAIMER OF WARRANTIES ⚠️

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

like, it's AS IS. no warranty, no safety net, no refunds. you've been warned, bestie. πŸ’€


and that's the whole page!! this was rendered with perl v5.42.0, dated 2026-01-17, and it's filed under Type::C...romMoose(3) β€” mwah, bye, go write some coercions πŸŽ€πŸ’–πŸ¦‹

πŸ“¦ where this page comes from