in reply to Re: Avoiding Hardcoded path of Perl.exe in coding
in thread Avoiding Hardcoded path of Perl.exe in coding
From perlvar
use Config; $secure_perl_path = $Config{perlpath}; if ($^O ne 'VMS') {$secure_perl_path .= $Config{_exe} unless $secure_perl_path =~ m/$Config{_exe}$/i;}
In Section
Seekers of Perl Wisdom