Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Multiple inheritance with multiple contructors?

by twerq (Deacon)
on Aug 09, 2002 at 18:03 UTC ( #188989=note: print w/replies, xml ) Need Help??


in reply to Multiple inheritance with multiple contructors?

perltoot has a section called Multiple Inheritance that seems to be what you're looking for.

--twerq
  • Comment on Re: Multiple inheritance with multiple contructors?

Replies are listed 'Best First'.
Re: Re: Multiple inheritance with multiple contructors?
by bizzach (Beadle) on Aug 09, 2002 at 18:43 UTC

    I checked that. It has a section on inheriting a single constructor but it doesn't show how to call multiple constructors.

    I'm starting to think that what I'm trying to do is actually a hack and not good design. I'm really asking to inherit the constructor from multiple classes into a single subclass. Not really a supported OO concept.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://188989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2021-05-09 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Perl 7 will be out ...





    Results (100 votes). Check out past polls.

    Notices?