$| doesn't work after upgrade

2003-09-11 Thread Tommy Falgout
Hey everyone,

First off, thanks a lot for your help on this, and all of your work to the
open source community.  And thanks in advance for the help.

The problem I'm having is that I was on RH8 with a manually built Apache 1.3
and mod_perl.  I have upgraded to RH9 with Apache 2.0 and now $| no longer
seems to work properly.  It buffers up some; however, it only seems to spit
out information every 3-5 minutes instead.

And example program that is failing is:  (Both IE 5.50 and Mozilla 1.4 and
lynx will
act as if it's still waiting on the server until the program is complete
instead of displaying each line on time)

#!/usr/bin/perl
$|= 1;
use CGI qw(:standard);
print header,
  start_html;
foreach (0 .. 4) {
 print  The current time is ,scalar(localtime),BR\n;
 sleep 1;
}

Here's the logistical info:

perl -MCGI -e 'print $CGI::VERSION' -- 2.89
perl -v -- This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Web Server:
[EMAIL PROTECTED] bin]$ httpd -v
Server version: Apache/2.0.43
Server built: Oct 11 2002 14:13:44
OS: RH9 Linux tatu 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
Brower: Tested with Mozilla 1.4  IE 5.50

Thanks!
Tommy.


Re: $| doesn't work after upgrade

2003-09-11 Thread Stas Bekman
Tommy Falgout wrote:
[...]
Here's the logistical info:

perl -MCGI -e 'print $CGI::VERSION' -- 2.89
perl -v -- This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Web Server:
[EMAIL PROTECTED] bin]$ httpd -v
Server version: Apache/2.0.43
Server built: Oct 11 2002 14:13:44
OS: RH9 Linux tatu 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
Brower: Tested with Mozilla 1.4  IE 5.50
Please resubmit the bug report, following the bug reporting guidelines 
http://perl.apache.org/bugs/

and to save ping-pong cycles, first upgrade to the latest mod_perl:
http://perl.apache.org/download/index.html
and try again.
Thanks.

__
Stas BekmanJAm_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