Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: The Drivel is in the Details

by Random_Walk (Prior)
on May 30, 2007 at 22:48 UTC ( #618348=note: print w/ replies, xml ) Need Help??


in reply to Re: The Drivel is in the Details
in thread The Drivel is in the Details

I think you should point out that when you do

my %newSource = %$source; # dereference it all at once
you are not just dereferencing $source but making a new and independent copy in %newSource. This may have implications if the code evolves. Any change made to one array will not be reflected in the other, for instance an element removed from %$source is not removed from %newSource and the removal of $source will not imply removal of %newSource

Cheers,
R.

Pereant, qui ante nos nostra dixerunt!


Comment on Re^2: The Drivel is in the Details
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (11)
As of 2016-02-12 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (397 votes), past polls