On 7/31/06, Todd Ross <[EMAIL PROTECTED]> wrote:
I think CGI::Application's error handling would benefit greatly by
eval{}ing hooks.  I routinely find myself executing code that might die()
inside of a setup() routine (and/or hook) and then having to set some kind
of flag so I can defer error checking until the runmode executes.  It's
workable, but kind of a pain.

Please feel free to write some failing tests as to how you think it
should work. My initial need for error_mode was to just handle errors
in the runmode, but it's been suggested on a number of occasions that
having the ability to trap errors in other parts of the callstack
(which appeared after I wrote error_mode) would be nice.

I just have no need for it. :-)

Rob

---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
             http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to