Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: How swap works

by dave_the_m (Prior)
on Jul 11, 2012 at 14:06 UTC ( #981122=note: print w/ replies, xml ) Need Help??


in reply to How swap works

In the case where the same variable appears on both sides of the assignment, perl makes a temporary copy of all the values of the RHS before performing the assignment.

Dave.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (6)
As of 2016-06-26 11:48 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.