There's also one in Perl6::Junction :)
if (any(qw(A B C)) eq $foo) { print 'FOO' }
In reply to Re^5: Collapsing repetitive equality tests: || vs {} vs // (an observation)
by phaylon
in thread Collapsing repetitive equality tests: || vs {} vs // (an observation)
by blogical
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |