if you're trying to get things to display to the browser, there are other things to do:
$|++;
to force writes to be "immediate". (i'm forgetting the proper term .. not enough coffee yet this morning ... )
the reason exit is sending the output to the browser is because the write buffer is closed, like a close on a filehandle. | [reply] [d/l] [select] |
| [reply] |
It sounds like you are developing a CGI application. If this is the case, turning off output buffering may ensure that the output from the script is displayed in the browser:
$|++;
| [reply] [d/l] |
Yes I am, and I am using $|++ already, but at some point I would like to have what the exit does but no success yet.
| [reply] |
| [reply] |
then you're between a rock and a hard place.
you may need to refactor the output ... so that you're sending stuff more frequently .....
without seeing any code, that's probably the best any of us can do ...
| [reply] |