http://qs321.pair.com?node_id=630289


in reply to Re^2: Using ternary operator as lvalue in push
in thread Using ternary operator as lvalue in push

well, I also expect something like this to work in Perl 6:
($cond ?? @x :: @y).push(<a b c>);
which is a lot more understandable syntax in my opinion.

cheers,
Aldo

King of Laziness, Wizard of Impatience, Lord of Hubris