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 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]: Hehe - $work is a place where we have lots of (money) accounts, and lots of journals where every transaction is recorded. But our HR system where the accounts of hours worked and vacation days taken are stored, there is no real account of who changed ...
[Corion]: ... that balance, and when. And it seems to me that they somehow really messed up the database since the start of the year and have been frantically adding and subtracting numbers from the totals, but without trace ;)

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (7)
As of 2018-01-23 16:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (248 votes). Check out past polls.

    Notices?