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 reply to Re^2: Avoiding Hardcoded path of Perl.exe in coding
by Anonymous Monk
in thread Avoiding Hardcoded path of Perl.exe in coding
by toastbread
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |