Just another Perl shrine | |
PerlMonks |
Re: how to quickly tell if number is in an arrayby Limbic~Region (Chancellor) |
on Oct 12, 2005 at 14:25 UTC ( [id://499499]=note: print w/replies, xml ) | Need Help?? |
redss,
For a more comprehensive explanation of the various ways to find things in an array, take a look at Getting Matching Items From An Array. Also see The fastest way of searching a certain element in an array which addresses your specific question. Cheers - L~R
In Section
Seekers of Perl Wisdom
|
|