in reply to how do I do multiple inheritance
One way of getting around this: provide a base class which traverses the @ISA for a class and calls the constructor for each. (The Class::ISA module would prove very handy.) Using Class::Base for the base class may be a smart thing to do.
For a more elegant solution, you might be interested in the NEXT module by TheDamian, which allows you to do smart and (relatively) painless inheritance traversal.
Chris
M-x auto-bs-mode
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: how do I do multiple inheritance
by Vavoom (Scribe) on Jan 25, 2002 at 03:38 UTC | |
by lachoy (Parson) on Jan 25, 2002 at 08:02 UTC |