in reply to Re^4: $1 not "freezing" in an addition
in thread $1 not "freezing" in an addition
Interesting. This gave me the idea of trying this code:
$_ = 1; print $_ + $_++;Amazingly enough, this prints 3, not 2
But this does print 2:
$_ = 1; print 0+$_ + $_++;
In Section
Seekers of Perl Wisdom