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


in reply to Re^2: help with references
in thread help with references

Then maybe you want to deep clone your data structures before assigning them to the hash elements.

See Storable::dclone and Clone.