Or if you want something a little more mind-bending check out the any function from Quantum::Superpositions.my @a = qw( foo bar baz quux ); print "yup" if grep "bar" eq $_, @a; __output__ yup
_________
broquaint
In reply to Re: Set Operators
by broquaint
in thread Set Operators
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |