AW: [htmltmpl] Executing code after print $template->output
Brought to you by:
samtregar
From: <Sebastian.Baer@3SOFT.de> - 2004-05-11 05:59:28
|
> What about $|=3D1? I tried that once (wanted to write a progress-bar for HTTP uploads). But this will never work with mod_perl. Ever had a look into Apache::UploadMeter? Oh my. Getting just-in-time output in mod_perl is a whole lot of pain ;-) If you just want to do some post-processing then the fork() that Steve suggested seems to be most promissing. By the way. The "mod_perl Programming" book says something like: "... if you want to do time consuming operations which do not result in HTML code sent to the browser you might want to do this in a second Apache instance (without mod_perl) -- so as not to waste mod_perl's precious resources ;-) ..." Regards, Sebastian |