in reply to Benefits of -w
And, perl -wT and 'use strict' are good habits to get into now, particularly as a CGI author, as repeated countless times here.
To actually do this, I'd put on -w for a script, check it from the command line, then modify as needed; repeat for all scripts. Then, watch the error.log file as there will still be warnings that were not seen during compilation that might be obtained during runtime, and fix these; this latter step may take several weeks or months to completely do because of how the site gets used.
Very much alternatively, you could have a script that when the logs are archived out, you can strip all lines with that warning on them, as to shorten the text file. Of course, ignoring such an error may result in something worse in the future.
|
|---|