something like this?
if( /^[Yy](?:es)?$/ ) { # do what you do for "yes" } elsif( /^[Nn]o?$/ ) { # do what you do for "no" } else { # error }
In reply to Re: Yes No Validation
by lestrrat
in thread Yes No Validation
by J9
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |