in reply to Re^2: Get first caller and its arguments
in thread Get first caller and its arguments
Furthermore, when called from within the DB package, caller returns more detailed information: it sets the list variable @DB::args to be the arguments with which the subroutine was invoked.Also look (and/or use) Devel::Caller::Perl (which uses the "called within the DB package" technique) or Devel::Caller.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Get first caller and its arguments
by OlegG (Monk) on Sep 12, 2011 at 17:19 UTC | |
by runrig (Abbot) on Sep 12, 2011 at 17:25 UTC | |
|
Re^4: Get first caller and its arguments
by OlegG (Monk) on Sep 12, 2011 at 17:27 UTC |