in reply to Re: Moose types & taint removal?
in thread Moose types & taint removal?
As I have no idea how to approach this with a Trait, I've gone the coerce route. Your example almost works, with the exception that your subtype needs to check for tainted-ness in order to untaint an acceptable string. It won't do coercion if the where clause is satisfied by the original string.
You Rule!
|
---|
In Section
Seekers of Perl Wisdom