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.
In Section
Seekers of Perl Wisdom