Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Deep Copying of Nested Data-Structures

by liz (Monsignor)
on Sep 01, 2003 at 09:56 UTC ( #288106=note: print w/replies, xml ) Need Help??


in reply to Deep Copying of Nested Data-Structures

Checking CPAN for "deep copy" reveals e.g. chocolateboy's Util with the clone() function.

Haven't used it myself, so can't tell you if it's any good. But is seems properly documented.

Liz

Update:
Forget about Util, check out Re: Deep Copying of Nested Data-Structures for the better answer: Storable::dclone

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://288106]
help
Chatterbox?
LanX "If Croesus goes to war he will destroy a great empire."
[LanX]: s/Croesus/May/

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2017-03-29 10:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (344 votes). Check out past polls.