Lately I've been using Moo instead of Moose, and I came across Type::Tiny Coercions, but I found the documentation difficult to follow.
My colleagues figured out a working example:
"You need an enum type that allows only 'yes' and 'no'. It's also important that you order your coercions with the most specific first. (Bool before Str)"
"The arguments inside the `plus_coersions( ... )` are basically `$FromType, $coercion_sub`"
Thanks Nelo and Mark S.
A piggy bank of commands, fixes, succinct reviews, some mini articles and technical opinions from a (mostly) Perl developer.