> "Mathew" == Mathew Snyder <[EMAIL PROTECTED]> writes:
Mathew> Is there an easy way to determine if an item is in an array without
iterating
Mathew> through the array and comparing each element to the item in question?
It's a *really* good idea if you're subscribed to this list to type "per
Dr.Ruud wrote:
> Ken Foskey schreef:
>> Mathew Snyder:
>
>>> 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.
>
> That still involves iterating and comparing each element, b
Ken Foskey schreef:
> Mathew Snyder:
>> 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.
That still involves iterating and comparing each element, but now done
(faster) by gr
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 unsubscrib
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?
Mathew
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/