in reply to Create a new operator, get LHS
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Create a new operator, get LHS
by Eily (Monsignor) on Aug 25, 2015 at 17:17 UTC | |
by SuicideJunkie (Vicar) on Sep 03, 2015 at 15:10 UTC |