I've read the docs at
http://perl.apache.org/docs/general/perl_reference/perl_reference.html#Excep
tion_Handling_for_mod_perl and still have some questions.

Under "Other implementations", Error.pm is listed as a best option. I have
test code that I run on the command line which Does the Right Thing, but
when I run it under mod_perl, the 'throw' handler in Error does a die(),
which mod_perl sees as a 500 error and logs it BEFORE I get back to my catch
handler to Do the Right Thing.

Is Error.pm really a best option for mod_perl?

BTW, I tried the My::Exception and it failed right away: I can't catch a die
(aka throw) without having to do [EMAIL PROTECTED]>isa all over the place. I may as 
well
just use a response object that has a code and a message...which isn't
really exception handling.

Thanks,
Stuart
 
Stuart Moffatt - [EMAIL PROTECTED]
Software Developer, User Interface - (613)591-6655 x2009
http://www.bridgewatersystems.com

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to