in reply to Getting STDERR to write to STDOUT?
BTW, in case you are doing this to see error messages in the browser window, you should use:BEGIN { use CGI::Carp qw(carpout); open(LOG, ">>/usr/local/cgi-logs/mycgi-log") or die("Unable to open mycgi-log: $!\n"); carpout(LOG); }
near the top of your CGI script.use CGI::Carp qw(fatalsToBrowser);
Russ
|
|---|