Stas Bekman wrote:

Jeff Boes wrote:

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!

<snip>

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.



--
Jeff Boes                                      vox 269.226.9550 ext 24
Database Engineer                                     fax 269.349.9076
Nexcerpt, Inc.                                 http://www.nexcerpt.com
          ...Nexcerpt... Extend your Expertise





Reply via email to