multiple inheritance and instance data?



I would like to have a class which has the behviour
of 2 more primitive classes.

I have read up on inheritance, and constructors.

I understand how the @ISA tree is traversed
to find methods.

http://perldoc.perl.org/perltoot.html

But I can't see, if BOTH parent classes
have constructors that return a blessed
object (e.g. a the typical hash reference),
what I'm meant to do in my child
class.

I think I'm just in trouble,
and that I'm up against a reasonable
limitation of Perl's object modelling,
but I would welcome any help
or insight.

BugBear
.



Relevant Pages

  • Re: multiple inheritance and instance data?
    ... of 2 more primitive classes. ... I have read up on inheritance, and constructors. ... limitation of Perl's object modelling, ... If you do need new functionality, then what you do depends upon what you need. ...
    (comp.lang.perl.misc)
  • Re: multiple inheritance and instance data?
    ... If you have a base class, ... having initialization without creation is bad. ...
    (comp.lang.perl.misc)