on di, 11 feb 2003 17:22:20 GMT, Dan Muey wrote:

> if(exists $hash{$key}) { ... }
>  
> 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

See
        perldoc -q "array contains"

in the Frequently Asked Questions.

-- 
felix

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

Reply via email to