> I'd like to see a new builtin named "in" which does the same as
   > "in" in SQL. Basically,
   > 
   >  print "OK!" if $val in ("foo","bar","bla");

Wait for the superpositions RFC:

        print "OK!" if $val eq any("foo","bar","bla");

        print "OK!" if $val =~ any(qr/fo+/,qr/bl?ar?/);

        print "OK!" if any(\&foo,\&bar,\&bla)->($val);

        print "OK!" if all(@vars) > any(@threshold);

Damian

Reply via email to