On Tue, 11 Feb 2003 11:22:20 -0600, Dan Muey wrote:

> is there a way to do that with arrays?
> IE
> if there is an array element that is 'bob' then do this ::
> without having to do a foreach on the array

Unless the arrays become too big,
grep is your friend
(perldoc -f grep)

If they become too big, just use the first function
from List::Util.


Greetings,
Janek

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to