My solution would to be to put a new wrapper in the second class and then invoke my constructor using that method. There is nothing holy about 'new'. It is just a method that is expected to perform as a constructor.
Update: In re-reading your request, it appears that you are implying that you might be overlapping method names more than just 'new'. Obviously, the inheritance model will look at the left-most class first. If you need derived classes to use a method that refers to a method of the same name as one found in class one, perhaps the wrapper needs to be in the class joining the two (or more) base classes, redirecting to the appropriate base method.
In reply to Re: How to do multiple inheritance?
by snopal
in thread How to do multiple inheritance?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |