in reply to Re: A caller() by any other name
in thread A caller() by any other name
As you say, when called from a class method/package sub, (caller)[0] returns the package name. Whereas what I'm suggesting it could return is an object reference e.g. <pkg>=HASH(0x123456) when the caller is an object.
Hope that makes it clearer.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: A caller() by any other name
by kennethk (Abbot) on Dec 02, 2008 at 18:00 UTC |