Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How do I make a copy constructor? (inheritance?)

by japhy (Canon)
on Mar 29, 2001 at 04:27 UTC ( #68013=categorized answer: print w/replies, xml ) Need Help??

Q&A > object-oriented programming > How do I make a copy constructor? (inheritance?) - Answer contributed by japhy

You want a deep copy -- try the Storable module; you want the dclone() function.

  • Comment on Answer: How do I make a copy constructor? (inheritance?)
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
[Corion]: :-D
[Corion]: Di-hydrogen monoxide is even worse!
choroba needs some CH3CH2OH

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2016-12-06 12:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (104 votes). Check out past polls.