Nick Tonkin wrote:
Is it possible to combine the recommended syntax:

use warnings FATAL => 'all', NONFATAL => 'redefine';

with the ability to turn warnings on in httpd.conf with PerlSwitches -w?
-w is the same as:

use warnings 'all';

then you can override things in your code using the warnings pragma.

Though I should add a note that NONFATAL was introduced only in 5.8, so you probably don't want to use it. Instead use:

use warnings FATAL => 'all';
no warnings 'redefine';

__________________________________________________________________
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

Reply via email to