in reply to Testing a string for a range of characters
my %hash; @hash{'A'..'Z'} = (); ... if (exists $hash{$whatever}) { ... }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Testing a string for a range of characters
by BoredByPolitics (Scribe) on Jan 24, 2001 at 21:02 UTC |