Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Pre vs Post Incrementing variables

by JavaFan (Canon)
on Sep 12, 2010 at 16:32 UTC ( #859875=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        print $i + 1, $i + 1;
        $i += 2;
    
  2. or download this
        print do {$i += 1}, do {$i += 1};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2019-12-15 04:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?