Adriano Allora wrote:
Hi all,
is there a way to find a value in an array without a foreach loop?
thank you all a lot,
alladr
|^|_|^|_|^| |^|_|^|_|^|
| | | |
| | | |
| |*\_/*\_/*\_/*\_/*\_/* | |
| |
| |
| |
| http://www.e-allora.net |
| |
| |
**************************************
Hi Adriano,
What do you looking for the "value" ?
The index location in the array or if a certain value existed in an array ?
by the way, perhaps you may refer to :
perldoc -f map
perldoc -f grep
hth
Jim
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>