in reply to checking a method is not subclassed
You can inspect the value you get from ref($self). If that's not Baz, some other package is calling the method through inheritance (or some other wacky thing). From there, decide what you want to do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: checking a method is not subclassed
by ikegami (Patriarch) on Feb 02, 2006 at 15:51 UTC |