Please correct me, but how is this better than abs_path($0) ?
AFAIK is abs_path the problematic part, because the CWD might have changed after a chdir
I suppose that $0 is even better, since caller might only show an intermediate module instead of the root script (untested)
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^4: Do modules know the callers full path?
by LanX
in thread Do modules know the callers full path?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |