in reply to checking an array of numbers for a particular value
You could try List::MoreUtils. See the function "any".
emc
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.