Especially since a BEGIN { chdir ".." } also effects relative paths in @INC.
Granted I was too lazy posting two files.
So I'd speculate this approach is good enough for the OPs cases.
Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery
In reply to Re^3: Do modules know the callers full path?
by LanX
in thread Do modules know the callers full path?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |