Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: How swap works

by dave_the_m (Monsignor)
on Jul 11, 2012 at 14:06 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://981122]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2024-03-29 00:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found