P is for Practical | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Thanks. That made me realize my mistake. I was overlooking that caller would return __PACKAGE__."::methodName" not just "methodName". Yes, it'd be nice if caller offered information about under what name the function was called instead of just under what name the function was compiled. It'd be nice if the following code:
Would be able to determine that the caller was trying to find "Parent::dest", found "Importer::dest" via inheritance, and that function which was compiled under the name "Source::orig", rather than only being able to find out that last item. - tye In reply to Re^7: Inheritance and calling a subclass method *from* a baseclass method... (rephrase)
by tye
|
|