Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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?
and cookies bake in the oven...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-02-28 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (393 votes). Check out past polls.