On Sun, 2006-12-31 at 00:54 -0500, Mathew Snyder wrote:
> Is there an easy way to determine if an item is in an array without iterating
> through the array and comparing each element to the item in question?

Look up grep.

You might be wanting a hash table not an array.

Ta
Ken


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to