How to print calling program/module inside a called API method in Perl?
- by Nirmal Singh Raja Reegan
Hi,
I have written a Perl API and it is used by many programs across teams. I want to track all programs calling my API method. I want to have something like the below
debug("The calling method is ", $XXXX);
How to get $XXXX ?
Thanks,
Nirmal