You are viewing the version of this documentation from Perl 5.6.2. View the latest version
$EXECUTABLE_NAME
$^X

The name that the Perl binary itself was executed as, from C's argv[0]. This may not be a full pathname, nor even necessarily in your path.