Skip to content

Commit 9cc0b14

Browse files
committed
document $*EXECUTABLE and note caveats of $*EXECUTABLE_NAME
1 parent 4cadbce commit 9cc0b14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/variables.pod

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,10 @@ Other compile-time constants:
387387
$*PID Process ID of the current process.
388388
$*OS Which Operating System am I compiling under (e.g. Linux).
389389
$*OSVER Version of the current Operating System.
390+
$*EXECUTABLE Absolute path of the perl executable that is currently running.
390391
$*EXECUTABLE_NAME The name of the perl executable that is currently running.
392+
(e.g. perl6-p, perl6-m, Niecza.exe)
393+
Favor $*EXECUTABLE because it is not guaranteed that the perl
394+
executable is in PATH.
391395
392396
=end pod

0 commit comments

Comments
 (0)