Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

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

( #269757=categorized answer: print w/ replies, xml ) Need Help??

Q&A > object-oriented programming > How do I make a copy constructor? (inheritance?) 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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2014-08-27 21:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (253 votes), past polls