Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: OO - problem with inheritance

by IlyaM (Parson)
on Jan 14, 2002 at 22:19 UTC ( #138645=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: OO - problem with inheritance
in thread OO - problem with inheritance

When I want to do deep cloning I just use dclone from Storable. Works for data structures of any complexity. There is also exist module Clone.

--
Ilya Martynov (http://martynov.org/)

  • Comment on Re: Re: Re: Re: Re: Re: Re: OO - problem with inheritance

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Re: OO - problem with inheritance
by uwevoelker (Pilgrim) on Jan 14, 2002 at 22:25 UTC
    I will use Clone.pm - it says it is faster than dclone. I do not need the hooks from Storable.
    Thank you for this hint, it saves me some time.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2022-06-29 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (94 votes). Check out past polls.

    Notices?