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.
In reply to Re: checking an array of numbers for a particular value
by swampyankee
in thread checking an array of numbers for a particular value
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |