if (!(@array[0]]+@array[1]))
False positive if $array[0] == -$array[1].
Alexander
In reply to Re^3: Check multiple array elements for a single condition
by afoken
in thread Check multiple array elements for a single condition
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |