Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: eval order of args to a sub

by eXile (Priest)
on May 31, 2007 at 13:56 UTC ( #618486=note: print w/ replies, xml ) Need Help??


in reply to Re: eval order of args to a sub
in thread eval order of args to a sub

thanks for that explanation, I experimented a bit with that behaviour and found this a fun example:

perl -le'$i=3; print($i, $i++, $i);'
434
perl -le'$i=3; print($i, $i+1, $i);'
343


Comment on Re^2: eval order of args to a sub

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-31 05:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (274 votes), past polls