in reply to How to find which perl was used to invoke script
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to find which perl was used to invoke script
by Anonymous Monk on Aug 21, 2009 at 07:58 UTC | |
by Burak (Chaplain) on Aug 21, 2009 at 14:08 UTC |