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