in reply to How to copy a referenced data structure?
use Storable; $serialized = freeze \%table; %table_clone = %{ thaw($serialized) }; [download]