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


in reply to Copy of an anonymous hash?

Dear Anonymous,
The topic of your problem is called deep copy
and it's worth while searchingfor it ...
and he has a column on it ...

pelagic