my %hash; @hash{'A'..'Z'} = (); ... if (exists $hash{$whatever}) { ... }
In reply to Re: Testing a string for a range of characters
by Fastolfe
in thread Testing a string for a range of characters
by BoredByPolitics
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |