Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How do I make a deep copy of a hash (or other data structure)?

by Athanasius (Archbishop)
on Jan 12, 2019 at 08:10 UTC ( [id://1228416]=perlquestion: print w/replies, xml ) Need Help??

Athanasius has asked for the wisdom of the Perl Monks concerning the following question: (hashes)

How do I make a deep copy of a hash (or other data structure)?

Originally posted as a Categorized Question.

Replies are listed 'Best First'.
Re: How do I make a deep copy of a hash (or other data structure)?
by haukex (Archbishop) on Jan 12, 2019 at 08:24 UTC
    There's also the module Clone.
Re: How do I make a deep copy of a hash (or other data structure)?
by Athanasius (Archbishop) on Jan 12, 2019 at 08:15 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1228416]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-03-29 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found