You use -w and maybe diagnostics in all your CGI scripts, but looking for the warnings in /var/log/httpd/error_log is too much for you...
Instead of letting them clutter the log file, check them out on the generated page instead!
BEGIN { pipe(DEBUG, STDERR) } # your CGI stuff END { close STDERR; print '<hr><b>Script warnings</b>', '<small><pre>', <DEBUG>, '</pre></small>' unless eof DEBUG; }
In reply to Get your script warnings on the page it generates by BooK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |