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:
which is a lot more understandable syntax in my opinion.($cond ?? @x :: @y).push(<a b c>);
cheers,
Aldo
King of Laziness, Wizard of Impatience, Lord of Hubris
Aldo
King of Laziness, Wizard of Impatience, Lord of Hubris
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Using ternary operator as lvalue in push
by polettix (Vicar) on Aug 02, 2007 at 14:57 UTC |
In Section
Seekers of Perl Wisdom