in reply to Re^2: Using exists to check element in array
in thread Using exists to check element in array

It will help if undef isn't an acceptable value, which is a common scenario.

I should have qualified my answer, but I thought the OP said they were storing numbers. Those are the keys, though. woops.

  • Comment on Re^3: Using exists to check element in array