in reply to Re^5: Do modules know the callers full path?
in thread Do modules know the callers full path?
Your emphasis the script using the module demonstrates the ambiguity of the OP's question. Is this about the script (which we usually identify as whatever is in $0) or is this the file from which a particular subroutine was called, as returned by caller? "Using a module" and "calling a subroutine in a module" are different things and can happen in different files.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Do modules know the callers full path?
by haukex (Archbishop) on Feb 15, 2023 at 22:07 UTC | |
|
Re^7: Do modules know the callers full path?
by LanX (Saint) on Feb 15, 2023 at 22:28 UTC |