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) {
   # ...
 }

Smart match innit?

use 5.010;
if ( $bar ~~ @foo ) {
  # ...
}

--
Andy Armstrong, Hexten



Reply via email to