in reply to Re: checking a method is not subclassed
in thread checking a method is not subclassed

You are not clear where or when the carp should happen.
The code that tye and I gave you would die on the my $b=NewFoo->new;.

Do you want a function like Foo::overriden('foo') that would return the name of classes that overrode method foo()?

-- gam3
A picture is worth a thousand words, but takes 200K.
  • Comment on Re^2: checking a method is not subclassed