Type::Tiny Tricks #5: Wrapping Moose/Mouse Type Constraints
So you have this Moo class, and it turns out what you really need for it is the StrictVersionStr type constraint defined in MooseX::Types::Perl. You could switch the class to Moose, but long term you want to stick with…