in reply to Help with Moose subtype
mbethke is correct.
You've also got a problem with your regular expression. Currently, the following string passes your type constraint, when I assume from your description that you expected it to fail:
$#!T
The regexp I think you want is: /^[A-Za-z0-9]*$/.
|
|---|