Re: [perl #66840] AutoReply: [BUG] rakudo dies when Ternary Error occurs

2009-06-22 Thread John Macdonald
On Mon, Jun 22, 2009 at 04:59:07PM +0900, hojung yoon wrote: > from S03: > http://perlcabal.org/syn/S03.html#Conditional_operator_precedence > > : It is a syntax error to use an operator in the middle part that binds > looser in precedence, such as =. > > : my $x; > : hmm() ?? $x = 1 !! $

Re: [perl #66840] AutoReply: [BUG] rakudo dies when Ternary Error occurs

2009-06-22 Thread hojung yoon
from S03: http://perlcabal.org/syn/S03.html#Conditional_operator_precedence : It is a syntax error to use an operator in the middle part that binds looser in precedence, such as =. : my $x; : hmm() ?? $x = 1 !! $x = 2;# ERROR : hmm() ?? ($x = 1) !! ($x = 2);# works