in reply to Find name of calling script?
Thanks ikegami,
> For calls within the Perl interpreter, (e.g. for do and require), Perl provides a wealth of information via caller.
My current "need" (OK, whim) is for 'do', but the doco doesn't mention 'do' as something 'caller' works for. I'll live.
Thanks JavaFan,
> (I presume with "call" you mean a regular fork/exec combo...
>> The call could be via a 'do' or 'system' or `` or 'exec'.
Thanks TomDLux,
> If you're on Windows, you're welcome to switch to Unix.
Well said! Fortunately, I'm already on Linux.
Thanks to each of you for your good/prompt responses!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Find name of calling script?
by ikegami (Patriarch) on Nov 13, 2010 at 03:35 UTC |