exists is intended for testing for the presence of a key in a hash. While it can also test for the presence of an array element at a given index, the use of exists on arrays is deprecated.</c>
Therefore, grep is the appropriate way to test the values of an array.
In reply to Re: HoA, grep or exists?
by RonW
in thread HoA, grep or exists?
by teamassociated
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |