With getppid you can the the PID of the parent process, which is often also the calling process.
Depending on your operating systems, there are probably ways to map that PID to a process name, which might or might not be related to the caller's name.
I'm curious, why do you need that? Maybe there's another way to achieve your goal in a different way.
In reply to Re: caller of perl script
by moritz
in thread caller of perl script
by red_draign
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |