in reply to Re^4: Do modules know the callers full path?
in thread Do modules know the callers full path?

> To fix that problem, load FindBin as early as possible from the main script,

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

  • Comment on Re^5: Do modules know the callers full path?