in reply to Re: Short Circuit Operator and Hash Assignment
in thread Short Circuit Operator and Hash Assignment
The 1 && part is being optimized out of the statement.this seems a rather dangerous and naive optimization to me, given that also this:
gets "optimized" as:$x = 1 && $y = 2; $x = 0 || $y = 2;
perhaps the p5p people should do something about it.$x = $y = 2; $x = $y = 2;
cheers,
Aldo
Aldo
King of Laziness, Wizard of Impatience, Lord of Hubris
In Section
Seekers of Perl Wisdom