Kent, Mr. John wrote:
> Greetings,
>
> I have put PerlSwitches -T in my httpd.conf file, yet keep getting the
> following warning
> in the server's error_log:
>
> [Tue Jul 23 10:43:06 2002] [warn] T switch is ignored, enable with
> 'PerlSwitches -T' in httpd.conf
>
> Any suggestions?
the cvs version or the next release won't complain anymore. currently -T
on shebang line is simply ignored, but will complain again in the future
when we will have a flag indicating whether the taint mode is on or not.
in perl 5.8.0 it's easy:
% perl5.8.0 -Te 'print ${^TAINT}'
in older Perls one need to parse PerlSwitches to find -T and set some
magic flag (was $Apache::__T in mod_perl 1.0).
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com