in reply to Better way to write these checks?

If you are trying to find out if the scalar is in the array, use the ~~ operator.

--linuxkid


imrunningoutofideas.co.cc