![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
deep copy is not always the solution:
There is shallow copy in one extreme and deep copy in the other an in the middle lots of intermediate solutions, which one is the good one depends on the particular data representation. For instance, if you are cloning an object representing an XML node, you will like to deep-copy all its children but not the pointer to its parent. In reply to Re^2: Copy of an anonymous hash?
by salva
|
|