Awesome thanks very much! Bit annoyned I didn't think of that or find it, but still, much appreciated!
Kristian. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Paul Seamons > Sent: 20 May 2008 16:11 > To: [email protected] > Subject: Re: [Templates] Process method timing quandry... > > 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 > _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
