Stas Bekman wrote:
Jeff Boes wrote:<snip>
We moved our webserver from a machine where mod_perl was built under Perl 5.6.1, to a server where it was built under 5.8.1. Now, Perl scripts run but produce no browser output!
open(STDOUT,'>- :stdio') or die $!;
This code runs, and produces output in the /tmp directory. But all I get in my browser is a blank page and a "Done."
I suppose that it's only scripts that reopen STDOUT to :stdio have this problem, right? why do you reopen STDOUT? It's already tied to the client's socket when you run under mod_perl. why :stdio?
Sorry; I meant to illustrate my problem with my original example, but managed to paste in a later result. The re-open has *no* effect when running under mod_perl (I think); I get a blank page regardless of whether this is here or not.
You mean a simple script:
print "Content-type: text/plain\n\n"; print "Hello";
doesn't output "Hello"?
You are running under mod_perl 1.0, right? Can we see the output of perl -V? Anything in the error_log?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com