Re: $| doesn't work with mod_perl

2005-09-12 Thread Tom Schindl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What version of mp are you using if you are running mp2 i think the apache-filter-system is the problem. Tom pradeep kumar wrote: > Hi, > > I have a perl script which uses $| to set autoflush on. Basically, it > flushes after every print. This scri

Re: $| doesn't work with mod_perl

2005-09-01 Thread Alexander Charbonnet
Also, as long as you're using CGI.pm, you should use it to generate your HTML output. Your script should probably look like this: #!/usr/bin/perl -w use strict; use CGI qw/:standard/; print header(), p('hello world'), ; sleep 2; print p('testing'), end_html(), ; That'll ge

Re: $| doesn't work with mod_perl

2005-09-01 Thread Alexander Charbonnet
Do you have mod_deflate active in your output chain? mod_deflate slurps up all its input and only prints when its buffer gets full. On Thursday 01 September 2005 07:52 am, pradeep kumar wrote: > Hi, > > I have a perl script which uses $| to set autoflush on. Basically, it > flushes after every p