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


in reply to Copying two-dimensional arrays

You've run into a shallow-copying vs deep-copying problem, and of course, I have a column on that.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.