On 7 Oct 2008, at 16:04, Paul Makepeace wrote:

... is starting to frustrate me. It's the one feature I am finding I'm
really missing from That Other Language.

 if ($bar in @foo) {
   # ...
 }

List::Util::first

or

List::MoreUtils::any

for older perls, perhaps.

Reply via email to