http://www.perlmonks.org?node_id=428894


in reply to Re: Equivalency of Code
in thread Equivalency of Code

No fair!

HIS code didn't have print statements in it, he was using them as standalone statements. You are testing something different.
$x = 3; $x++; print $x;
vs
$x = 3; $x += 1; print $x;
...would be more accurate.

Of course, given problems with operator overloading, they stil arn't actually equal.