|
Jonathan Rockway |
at Aug 30, 2006 at 1:10 am
|
⇧ |
| |
Is there a way to send stuff as
it's running, like forcing the server to send info every so often?
Nope, everything is printed in a big print statement in finalize().
(Actually, it's not that big... it's only one line. But you know what I
mean.) If you think about it, this is necessary because you can change
headers or the body at any time in the request cycle... and you can't
unsend data.
However, nothing is stopping you from printing to {*STDERR}, using
"warn", or running myapp_server.pl under perl's debugger. Printing
debugging information to the browser is completely unnecessary.
Regards,
Jonathan Rockway