I finally understand! (caller(0))[1,2] give me filename and line of the place where I was called from; but to see from what other subroutine I was called, I need to access (caller(1))[3]. Thanks a lot for clarification!
In reply to Re^2: caller() mystery
by rovf
in thread caller() mystery
by rovf
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |