Possibly the easiest way to to use the PERL5OPT Environmental Variable, as described in perlrun:
PERL5OPT Command-line options (switches). Switches in this variable are taken as if they were on every Perl command line. Only the -DIMUdmw switches are allowed. When running taint checks (because the program was running setuid or setgid, or the -T switch was used), this variable is ignored. If PERL5OPT begins with -T, tainting will be enabled, and any subsequent options ignored.
----Asim, known to some as Woodrow.
In reply to Re: automatically choosing perl executable for CGI scripts
by Asim
in thread automatically choosing perl executable for CGI scripts
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |