"Michael S. E. Kraus" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Am I asking to higher a level a question to be appropriate for this
> list?
>
> Thanks...
>
> -Mike

I saw this browsing CPAN the other day... yep:

http://search.cpan.org/~mschwern/Class-Virtual-0.04/

Hopefully this will avoid a few bugs you were potentially about to write.

Todd W.

>
> On Wed, 2004-11-24 at 17:35, Michael Kraus wrote:
> > G'day...
> >
> > If a sublass has overrides a method in a superclass, and the subclasses
> > method calls the superclass's method, is there any mechanism to detect
> > that the superclass' method has been overridden?
> >
> >
> > I'm wanting to write a method in an abstract class that must be
> > overriden by it's children. If it is called directly (i.e. without being
> > overriden) then it registers an error, but if its called via an
> > overriding method then do some common functionality.
> >
> > I'm guessing there is no in-built functionality for this, and I'll have
> > to examine my classes to discover how to test for it myself. Is it
> > possible to confirm this?
> >



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to