You mean like: if (grep {$_ eq $var} @list) where the var part can be an arbitrarily complex function?
I don't know about the guts, but List::Utils has a bunch of stuff that does similar things you might want to look at.
In reply to Re: Create a new operator, get LHS
by SuicideJunkie
in thread Create a new operator, get LHS
by stevieb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |