in reply to Re^3: Using ternary operator as lvalue in push
in thread Using ternary operator as lvalue in push
As a matter of fact it does:
At least now!pugs$ cat prova.pl && ./pugs prova.pl my @x = my @y = (); ((False,True).pick ?? @x !! @y).push(<a b c>); say "x: @x[]"; say "y: @y[]"; x: a b c y:
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
---|
In Section
Seekers of Perl Wisdom