in reply to How to get code of the calling function or object
my @call=caller(0); print join ":",$call[1],$call[2],"\n";
Prints path and linenumber of the call!
With this formating my emacs in cperl-mode even allows to click on the output and to jump into the addressed line of code.
Cheers Rolf
|
|---|