Perl Monk, Perl Meditation | |
PerlMonks |
Re: IF and some conditionsby Ben Win Lue (Friar) |
on Jun 02, 2005 at 14:52 UTC ( [id://462943]=note: print w/replies, xml ) | Need Help?? |
for rather small values that are OK,
this seems to be the fastest solution:
if your OK-values get larger, I would use a hash instead of an array!
In Section
Seekers of Perl Wisdom
|
|