in reply to Inheritance and objects tied to a database
# Parent is the name of the package containing DESTROY $self->Parent::DESTROY;
to call the parent class's DESTROY method over the child's?
I'm not an OO expert, especially not with Perl, so I could be totally wrong, but that's how it works with proceedural Perl if you override, say, exit, and then need to call the core exit routine.
Hope that helps (if it works ..)
-- Foxcub
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Inheritance and objects tied to a database
by relax99 (Monk) on Dec 20, 2002 at 12:41 UTC | |
by Tanalis (Curate) on Dec 20, 2002 at 12:48 UTC | |
by relax99 (Monk) on Dec 20, 2002 at 12:56 UTC |