Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by BazB (Priest)
on Jun 27, 2003 at 21:46 UTC ( #269757=categorized answer: print w/replies, xml ) Need Help??

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

merlyn (otherwise known as Randal Schwartz) discusses shallow vs deep copying in one of his columns.

An alternative to Storable for creating clones/copies of objects is the Clone module.

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

What's my password?
Create A New User
Chatterbox?
and the daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (9)
As of 2016-12-07 20:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (131 votes). Check out past polls.