in reply to How to determine the path to the Perl binary that executed your program?
On Linux the following should and indeed seems to work:
Probably won't work on any other OS though...print readlink("/proc/$$/exe"),"\n";
|
---|
In Section
Seekers of Perl Wisdom