yeah sure but the question was related to what the module can know.
I offered a best practical solution (quote: good enough for the OPs cases )
The only perfect solution - apart of amending the Perl binary - that I can see is to tweak the Config.pm of the local Perl installation to always save the original CWD at start time.
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^5: Do modules know the callers full path?
by LanX
in thread Do modules know the callers full path?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |