Hans, HP>I'am new to the list, and i've been looking for a solution for HP>buffering, in order to decide to make a redirect after the printing of HP>HTML content. It seems that $| don't work fot this.
Whether or not you have $| on, you will want to explicitly control whether output is sent if you may want to do a redirect at some point in your code. There are two simple ways to rearrange your code to do this from a mod_perl handler or Apache::Registry scripts. The first is to determine what all the cases are where you would do a redirect. Then put this code up front, before you output anything. The second method would be to organize your code so that instead of using print or calling $r->print(), you accumulate your output into a variable. At the end of your handler() or Apache::Registry script, you can either redirect, or print the accumulated output. Humbly, Andrew ---------------------------------------------------------------------- Andrew Ho http://www.tellme.com/ [EMAIL PROTECTED] Engineer [EMAIL PROTECTED] Voice 650-930-9062 Tellme Networks, Inc. 1-800-555-TELL Fax 650-930-9101 ----------------------------------------------------------------------