in reply to Apache and Perl's -w
It depends on how you have things set up. You can set perl options in the environment variable PERL5OPT, and if you can put that in .htaccess (or the equivalent) with a SetEnv directive.
If you are running things through mod_perl, you probably want the PerlWarn directive.
I don't enable warnings for production code though: I either know about the warnings already, or don't care. I don't need to fill up logs with the same warning over and over again. I turn on warnings for debugging and development and turn it off otherwise.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Apache and Perl's -w
by hsmyers (Canon) on Feb 16, 2005 at 02:44 UTC | |
by BUU (Prior) on Feb 16, 2005 at 05:36 UTC | |
by hsmyers (Canon) on Feb 16, 2005 at 15:44 UTC |