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.
In reply to Re: Re: Inheritance and objects tied to a database
by relax99
in thread Inheritance and objects tied to a database
by relax99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |