in reply to Re: Inheritance and objects tied to a database
in thread Inheritance and objects tied to a database
I tried it and, unless I made some kind of fundamental mistake in my test, it doesn't work. I think when you do something like $self->Parent::DESTROY(); it just uses the parent's DESTROY() method with child's data. So yes, it would save the changes to the database, but they are going to be almost instantly overwritten with parent's data when the parent's DESTROY() method is executed.
Thanks for trying to help! I'm still confused about the issue though.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re[3]: Inheritance and objects tied to a database
by Tanalis (Curate) on Dec 20, 2002 at 12:48 UTC | |
by relax99 (Monk) on Dec 20, 2002 at 12:56 UTC |