You can also try caller(), but I'm not sure how that behaves inside an IF.
It works the same way it does anywhere else; nothing if does intrinsically changes the call stack.
In reply to Re^3: __FILE__
by chromatic
in thread Debugging CGI/PERL
by Trihedralguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |