Re: Flushing output buffer under mod_perl

2006-07-12 Thread Ibrahim Dawud
else { newstatus("Querying " . "$i" . " out of 5 suppliers"); sleep (1); } } print $cgi_sub->start_form(); print $cgi_sub->submit(-name=>'action',-value=>'run'); print $cgi_sub->end_form(); print $cg

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