I seem to remember that caller(0) can give you that information. You have to specify the call-frame explicitly to get the full spectrum of data. The fourth element of the array is 'subroutine name', if you are in an eval block it reads '(eval)'.
----
I Go Back to Sleep, Now.
OGB
In reply to Re: Prevent my STDERR logging in evals...
by Old_Gray_Bear
in thread Prevent my STDERR logging in evals...
by suaveant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |