[htmltmpl] CCI::App/H::T fatal exception handler
Brought to you by:
samtregar
From: Bill C. <wc...@ya...> - 2003-08-18 20:40:24
|
Hello, Is there a way to output a Web page from within the CGI::App framework using H::T upon a fatal error? Doe it matter if the fatal exception called die or generated an "Error" exception? When you return output from a runmode, I assume CGI::App puts the string onto the STDOUT filehandle linked to your request. How can you get the socket from CGI::App in the event you want to write to the request handle yourself, rather than returning a string from a runmode? Can this be accomplished only after you enter a runmode, or can it be done if there is a fatal exception in cgiapp_init or cgiapp_prerun? Thanks. Bill Catlan |