On Thu, 27 Dec 2001, Greg McCarroll wrote:

> The second is how we can best represent standards for P5EE classes
> inside Perl. This may be something that Damian might like to think
> about or it may be something we can solve ourselves, however it seems
> that if we end up creationg lots of modules with
>
>       sub foo {
>           die "Err, your implementation of Foo is not complete";
>       }
>
> We will all go slightly mad.

Are you talking about virtual/abstract methods?  Schwern has a nice
solution with Class::Virtual.  Or Marcel Grunauer's Attribute::Abstract
module provides an even slicker solution (but requires 5.6).


-dave


-dave

Reply via email to