Subject: | Problems with multiple inheritance |
This problem was experienced in Class::Virtually::Abstract.
Perl:
This is perl, v5.8.1-RC3 built for darwin-thread-multi-2level
(with 1 registered patch, see perl -V for more detail)
OS:
Darwin hyperstation.local 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc
I have implemented and abstract class, a parent class and a child class. The abstract class requires four different subs to be implemented: init, proces, finish and fail.
The parent class implements: init, finish and fail.
The goal is to only have this particular child class implementing proces and inheriting the remaining: init, finish and fail from the parent class.
The abstract class does it job (failing) until I declare that the child class ISA parent class, then everything compiles correctly. The parent class does not implement the required proces - I suspect this has to do with the import, but I am not sure. So this bug is just for the record.