Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: deep copy of nested data structure

by autark (Friar)
on Nov 22, 2000 at 13:54 UTC ( #42892=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Storable qw(dclone);
    my $copy = dclone($some_ref);
    
  2. or download this
    use Clone qw(clone);
    my $copy = clone($some_ref);
    
  3. or download this
    @copy = thaw freeze $hashref

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-12-05 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (31 votes). Check out past polls.

    Notices?