in reply to Re: (tye)Re: Why do you need abstract classes in Perl?
in thread Why do you need abstract classes in Perl?
No, if UNIVERSAL were an abstract class, then the can() and isa() methods would be unimplemented (that is what makes a class abstract -- none of its methods are implemented, the class consists of only a interface definition and no implementation) and you would be required to implement them yourself in any class you build that inherits from UNIVERSAL (which would be all classes since all classes inherit from UNIVERSAL implicitly).
- tye (but my friends call me "Tye")
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(dws)Re: (tye)Re2: Why do you need abstract classes in Perl?
by dws (Chancellor) on Mar 06, 2001 at 10:49 UTC | |
by tye (Sage) on Mar 06, 2001 at 11:04 UTC | |
|
Re: (tye)Re2: Why do you need abstract classes in Perl?
by Madams (Pilgrim) on Mar 06, 2001 at 09:11 UTC |