in reply to A mapping between perlvar and %Config ?
but I am not sure if $^X is identical to $Config{perlpath} or not.
Why not? perlvar has a couple of pages explaining what $^X means, the dangers of relying on $^X...
Config is the docs you want :) osname, perlpath
Basically, $^X is the name of the actual exe, wherever it lives, whatever it has been renamed to (notperl.exe)
except on VMS. perlvar warns about $^X not containing .exe suffix on VMS ... easier to document than fix VMS bugs I guess (weak sauce)
I use $^X all the time, I've never seen VMS :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A mapping between perlvar and %Config ? ( $^O $Config{osname} $^X $Config{perlpath} )
by Laurent_R (Canon) on Aug 22, 2014 at 06:36 UTC | |
by MidLifeXis (Monsignor) on Aug 22, 2014 at 12:54 UTC | |
by Laurent_R (Canon) on Aug 22, 2014 at 17:16 UTC |