Depending on the host operating system, the value of $^X may be a relative or absolute pathname of the perl program file, or may be the string used to invoke perl but not the pathname of the perl program file.and indeed,
osx% perl -le'print $^X' perl
In reply to Re^4: How to determine the path to the Perl binary that executed your program?
by mreece
in thread How to determine the path to the Perl binary that executed your program?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |