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

Re: Re: Where/When is OO useful?

by Anonymous Monk
on Aug 28, 2002 at 03:16 UTC ( [id://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 :-(

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://193347]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-29 02:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found