http://qs1969.pair.com?node_id=148727


in reply to Arrary ref stored in hash always points to the same array?

This is nearly exactly the code I showed in my column on deep copying! Solution is provided, along with a discussion about what's happening.

-- Randal L. Schwartz, Perl hacker