Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Quantum Weirdness and the Increment Operator

by hv (Prior)
on Jun 24, 2004 at 13:32 UTC ( [id://369350]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $m = 20;              # $m == 20
      ++$m;                 # $m == 21
      $temp1 = $m++         # $m == 22, $temp1 == 21
      $temp2 = $m + $temp1  # 22 + 21 = 43
      print $temp2
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found