I'm confused - if I understand your question, caller already does what you want: caller.
Update:: Upon reread, do you mean identification of package/object in call? That's already in there with the passed parent object -> perltoot/perltooc covers similar concepts in identifying whether a method is called by an object or a class.
I'm probably just missing the boat on all this.
In reply to Re: A caller() by any other name
by kennethk
in thread A caller() by any other name
by Bloodnok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |