develooper Front page | perl.perl5.porters | Postings from October 2011

Pre/post increment anomaly

Thread Next
From:
Johan Vromans
Date:
October 6, 2011 01:01
Subject:
Pre/post increment anomaly
Message ID:
m2r52qtup0.fsf@phoenix.squirrel.nl
Are there any plans to get rid of this (wellknown) pre/post increment
anomaly:

  $i = 3; print ++$i, ++$i, ++$i;
  $i = 3; print $i++, $i++, $i++;

-- Johan


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About