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

...it depends. If the call to abs_path is in a subroutine, then it won't happen at compile time.

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

Replies are listed 'Best First'.
Re^5: Do modules know the callers full path?
by LanX (Saint) on Feb 15, 2023 at 21:29 UTC
    That's why I'd put it at the very beginning of the module, the same way caller is used to determine who used the module.

    Cheers Rolf
    (addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
    Wikisyntax for the Monastery