multiple inheritance and instance data?
- From: bugbear <bugbear@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Mar 2007 14:12:54 +0100
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
.
- Follow-Ups:
- Re: multiple inheritance and instance data?
- From: Mumia W.
- Re: multiple inheritance and instance data?
- From: Abigail
- Re: multiple inheritance and instance data?
- From: Peter Scott
- Re: multiple inheritance and instance data?
- Prev by Date: FAQ 9.10 How do I decode or create those %-encodings on the web?
- Next by Date: Re: What could potentially be wrong in this script?
- Previous by thread: FAQ 9.10 How do I decode or create those %-encodings on the web?
- Next by thread: Re: multiple inheritance and instance data?
- Index(es):
Relevant Pages
|
|