Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Multiple inheritance with multiple contructors?

by twerq (Deacon)
on Aug 09, 2002 at 18:03 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://188989]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-19 21:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found