Re: Flushing output buffer under mod_perl

2006-07-10 Thread Mr. Shawn H. Corey
Mr. Shawn H. Corey wrote: > Ibrahim Dawud wrote: > >>Hello, >> >>The following code works great using normal perl but does not work >>under mod_perl: >> Oops, I overlooked the fact that you are using mod_perl. I haven't use it for years but I seem to recall that STDOUT is redirected to the socket

Re: Flushing output buffer under mod_perl

2006-07-10 Thread Mr. Shawn H. Corey
Ibrahim Dawud wrote: > Hello, > > The following code works great using normal perl but does not work > under mod_perl: > > #!/usr/bin/perl > > use CGI; > my $cgi = new CGI; > print $cgi->header(); > print $cgi->start_html(); > $| = 1; > print $cgi->h2("test1"); > sleep 1; > $| = 1; > print $cgi-

Flushing output buffer under mod_perl

2006-07-10 Thread Ibrahim Dawud
Hello, The following code works great using normal perl but does not work under mod_perl: #!/usr/bin/perl use CGI; my $cgi = new CGI; print $cgi->header(); print $cgi->start_html(); $| = 1; print $cgi->h2("test1"); sleep 1; $| = 1; print $cgi->h2("test2"); sleep 1; $| = 1; print $cgi->h2("test3