Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Pre vs Post Incrementing variables

by ikegami (Patriarch)
on Sep 12, 2010 at 16:12 UTC ( [id://859868]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    f(++$i, ++$i)
    
  2. or download this
    do {
       local @_;
    ...
       alias $_[1] = ++$i;
       &f;
    }
    
  3. or download this
    do {
       local @_;
    ...
       ++$i; alias $_[1] = $i;
       &f;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-26 06:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found