in reply to Re^3: How to create a new array with the same name as an existing one in a loop?
in thread How to create a new array with the same name as an existing one in a loop?
i want to be able to copy everything.
Why? Why not just create a new array reference each time through the loop? Again, I don't think we have a good idea of your true requirement. Please see Short, Self-Contained, Correct Example.
Update: In any event, searching with "deep copy" on MetaCPAN brings up Clone (update: and Clone::PP), about which I know nothing.
Give a man a fish: <%-{-{-{-<
In Section
Seekers of Perl Wisdom