No. In golf, the --$| magical flip-flop is shorter. For example:... That said, I'm totally using it the next time I play golf.my $t = 0; grep { $t^=1 } LIST
grep--$|,LIST
In reply to Re^2: Mini-Tutorial: Working with Odd/Even Elements
by eyepopslikeamosquito
in thread Mini-Tutorial: Working with Odd/Even Elements
by ikegami
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |