If you were going to be sneaky about it, surely you'd write it like so:
push @{--$| ? \@one : \@two}, $_ for %hash;
P.S. Is there some unspoken mission to use --$| for everything?
In reply to Re^2: Simplifying for loop and applying multiple push function
by duff
in thread Simplifying for loop and applying multiple push function
by jesuashok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |