If your list of possible values gets long, you could store them as keys of a hash and then check for existence or definedness in the hash.
In reply to Re^3: var comparison
by Anonymous Monk
in thread var comparison
by nemesisgus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |