in reply to mod_perl2 unbuffered printing

Are you sure it's not caused by browser? If you try some sniffer (for example, Wireshark), will it show that you receive buffered output? Modern browsers seem to cache the page and download it fully before rendering.
Sorry if my advice was wrong.