The eval forces a new flip-flop operator each time.sub blah { my $look_for = shift; my (undef, @a) = eval 'grep {$_ eq $look_for .. /(*FAIL)/} @_'; @a; }
In reply to Re: flip-flop flop (be aware!)
by JavaFan
in thread flip-flop flop
by morgon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |