in reply to Moose types & taint removal?

Moose type checks won't change the value of something, for that you need coercions. Although to be totally honest I have no idea if this will do what you want or not, I don't really worry about tainting too much in my work. That said, if it doesn't work please submit a bug and test case (and a patch if you feel so inclined).

-stvn