From: Bruce W. <br...@mi...> - 2003-05-28 13:37:21
|
> NM. Musta had some weird problem with the code that just mysteriously > went away as I rewrote some bits. > > Is there a way to get the perl-error from the excuting .pl files > in the MH web server? Sure, good idea. I just changed line 1185 in lib/http_server.pl from this: print "Error in http eval: $@" if $@; to this: if ($@) { my $msg = "http error in http eval of $file: $@\n"; $html = &html_page('', $msg); print $msg; } Looks like &html_cgi already will return errors for those cgi STDOUT scripts that start with #!/local/bin/perl Bruce |