http://www.perlmonks.org?node_id=618348


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!