Great that you solved your own problem.
Did you know you can get that page with all the special values by typing perldoc perlvar ? It's part of the standard perl documentation and available whenever perl is installed.
And if you add the line use English; to the top of your program, you can call that variable $EXECUTABLE_NAME instead of the rather esoteric $^X. But if you do use English, it's a good idea to exclude some imports for performance. I have use English qw<-no_match_vars> in my template for new perl files.
In reply to Re: How to find which perl was used to invoke script
by Boldra
in thread How to find which perl was used to invoke script
by tsk1979
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |