print "$element in @array1\n" if(grep( /$element/, @array1 )) ;
In reply to Re: Like in hashes, do we have something like exists in arrays as well.
by Rahul6990
in thread Like in hashes, do we have something like exists in arrays as well.
by rmalhotra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |