Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Re: Where/When is OO useful?

by Anonymous Monk
on Aug 28, 2002 at 03:16 UTC ( #193347=note: print w/ replies, xml ) Need Help??


in reply to Re: Where/When is OO useful?
in thread Where/When is OO useful?

Nice. Do you also have recommendations for keeping everything as neat and tidy while adding persistence? I've managed a few simple cases with Storable hooks, but dependencies on the ancestor class beyond just its api seem to be rearing their heads again :-(


Comment on Re: Re: Where/When is OO useful?
Re: Where/When is OO useful?
by Abigail-II (Bishop) on Aug 28, 2002 at 07:53 UTC
    It shouldn't be too hard to write save and restore functions that dump the appropriate values of the hashes.

    And it's real easy to make class level save and restore functions that save/restore *all* the instances of a class.

    However, to do this right, you do need to cooperation of the classes you inherit....

    Abigail

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://193347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2014-07-30 01:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (229 votes), past polls