in reply to Re: Abstract class methods
in thread Interfaces in Perl?
In my tests it works perfectly.
In theory it should work fine as well.
If A is an abstract class and B inherits from it then the check that B has implemented the methods does not happen when B calls import on A since A ignores the method call with itself as the class. It only happens when A handles the call to import B into whatever C wanted to use it, at which point B has been compiled and loaded.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Abstract class methods
by Dominus (Parson) on Dec 01, 2000 at 06:01 UTC |