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


in reply to Hash references and efficiency

Yes, it populates the hash. You are dereferencing the original hashref, creating a copy and assigning it to a new hash.

If you don't like typing curly brackets, try the arrow syntax ($hashref->{key}). BTW, treating a hashref differently than a regular hash can be considered a good thing when you review old code.