Re: how to test if an element belongs to an array or hash
- From: biomahui@xxxxxxxxx
- Date: 31 May 2005 10:19:39 -0700
Thanks.
Another question,
Is there a way to find the keyvals from their values without using
iteration. For instance;
$set{"apple"}="fruit";$set{"pear"}="fruit";$set{"banana"}="fruit";$set{"beef"}="meal";
I need to find "apple","pear" etc from "fruit".
Thanks!
.
- Follow-Ups:
- Re: how to test if an element belongs to an array or hash
- From: Brian Wakem
- Re: how to test if an element belongs to an array or hash
- From: Jim Keenan
- Re: how to test if an element belongs to an array or hash
- From: Anno Siegel
- Re: how to test if an element belongs to an array or hash
- References:
- how to test if an element belongs to an array or hash
- From: biomahui
- Re: how to test if an element belongs to an array or hash
- From: John Bokma
- how to test if an element belongs to an array or hash
- Prev by Date: Re: Perl on a mainframe system
- Next by Date: Re: how to test if an element belongs to an array or hash
- Previous by thread: Re: how to test if an element belongs to an array or hash
- Next by thread: Re: how to test if an element belongs to an array or hash
- Index(es):