Under CGI or mod_perl1, you can accomplish this by setting the autoflush 
marker on STDOUT.  Either of these will do it.

local $| = 1;

OR

use IO::Handle;
STDOUT->autoflush;

If you are running under mod_perl2 you will need to get your apache request 
object and call ->rflush everytime you have data to send to the browser.

sub handler {
    my $r = shift;
    print_something();
    $r->rflush;

    print_something_else();
}

Paul 

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to