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!

For example:

------------begin code---------
#! /usr/bin/perl -w
open (TMP,">/tmp/hello.log") or die $!;
print TMP "See, I did run.\n";
open(STDOUT,'>- :stdio') or die $!;
print "Content-type: text/html

hello, world.
";
print TMP "And I'm still running.\n";
close TMP or die $!;

-----------end code------------

This code runs, and produces output in the /tmp directory. But all I get in my browser is a blank page and a "Done."

--
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