in reply to Re: A mapping between perlvar and %Config ? ( $^O $Config{osname} $^X $Config{perlpath} )
in thread A mapping between perlvar and %Config ?
Update: Actually, I just tried, on our VMS platforms, with Perl version 5.8.6, $^X contains the full name, including physical path, exe extension and even the version number:
ROL>sh symbol perl PERL == "$PERL_ROOT:[000000]PERL.EXE" ROL>sh logical PERL_ROOT "PERL_ROOT" = "$1$DGA3501:[SYS0.SYSCOMMON.PERL5_8_6.]" (LNM$JOB_834 +94F40) ROL>perl -e "print $^X, qq(\n)" $1$dga3501:[sys0.syscommon.perl5_8_6.][000000]perl.exe;1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
OT - Re^3: A mapping between perlvar and %Config ? ( $^O $Config{osname} $^X $Config{perlpath} )
by MidLifeXis (Monsignor) on Aug 22, 2014 at 12:54 UTC | |
by Laurent_R (Canon) on Aug 22, 2014 at 17:16 UTC |