Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Quantum Weirdness and the Increment Operator

by Abigail-II (Bishop)
on Jun 24, 2004 at 08:53 UTC ( #369267=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $m = 20;  print ++$m + $m++;
    
  2. or download this
      $m = 20;  print noop(++$m) + $m++;
    
      sub noop{ return shift }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://369267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2016-06-26 07:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (328 votes). Check out past polls.