Hello Everyone, I need to capture exceptions caused in the cgiapp_prerun sub. In my situation, I want to verify a set of environmental parts that are used in many run modes. So instead of verifying these each time, I would like to do it in the prerun and then output a nice universal error page (one used for other errors).
Taking the advice from a previous discussion: http://www.nabble.com/error-mode-question-tf2025600.html#a5580234, I took the time to add test cases and write a patch but I did so on CGI-Application-4.07_01 source. There are two problems with 4.07: it is much slower than 4.06 and has a large set of dependencies. These leads to a couple of questions: 1. Should I be adding this update to 4.06 or the 4.07 line? At this point, I can't see installing the 4.07 line with the performance hit (since we run most of these as pure CGIs and converting them isn't really a possibility, for business reasons.). I am willing to produce patches and tests for both. 2. In my case, I only need error handling during prerun but while I'm working on this, it wouldn't take much more work to update the handling for the postrun hook. I could do this if anyone is interested. Thoughts, Comments, suggestions? Thanks for your time, Lee --------------------------------------------------------------------- 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]
