in reply to Re: Puzzling $| behavior
in thread Puzzling $| behavior
The OP's problem is not (just) due to the order in which the operands are executed (left to right). Try
$x=0; printf "%d %d %d\n",$x,$x--,$x;
Note that even though Perl executed the four operand from left to right, the result is -1 -1 -1.
|
---|
In Section
Seekers of Perl Wisdom