in reply to
Check user input - reimplementation
I wouldn't call the parameter regex, since it isn't. Perhaps charclass? Update: It might be worthwhile to provide both a regex and charclass option.
Comment on
Re: Check user input - reimplementation
In Section
Seekers of Perl Wisdom