Thanks for answer Hauke,
but I now think I should discard "do" and use eval + #line trick suggested earlier. Because with "do" there is no way to distinguish an error (like file not found) from the script just returning undef (is this right?).
I also realized I need function call stack inside each file as well. I am now trying to come up with something combining caller and eval + #line.In reply to Re^2: print stack of "do" files on error
by kir
in thread print stack of "do" files on error
by kir
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |