On Mon, 3 Feb 2003, Kenny Pyatt wrote: > One of my developers created a dienicely sub and we issue > do_something or dienicely() > whenever we can but when you have several layers the error is normally > caught prior to dienicely(). We need a better way. This is what I'm doing now and it worked fine when my methods were interacting with DBI directly, but as I've increased abstraction and created more and more intermediate methods which may or may not want to allow errors to occur it has become much more painful. I'm currently planning on doing something with Error.pm: http://search.cpan.org/author/UARUN/Error-0.15/Error.pm I haven't gotten into it yet, but this seems to be the most widely recommended. My biggest concern is that there needs to be a catch block at the CGI::Application level and that I'm going to have to override the dispatch loop to make this work. All of which is still speculation... -- </chris> "Never offend people with style when you can offend them with substance." - Sam Brown --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/suppressed/ To unsubscribe, e-mail: suppressed For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.