in reply to Re: CGI::App catch and email database errors
in thread CGI::App catch and email database errors

Also using warn as a way to send email is doubly weird

Replies are listed 'Best First'.
Re^3: CGI::App catch and email database errors
by Anonymous Monk on Apr 12, 2010 at 12:15 UTC
    it is only an example, to prove that I'm not geting passed what I thought. As you can see from the example sub, there is no email sent.

      So, if sending email works, why do you show us only the working part of your code? I would think it is far more likely that the error is in some other part instead of the part of the code which you know works.

      So, consider going back to reducing your program to a small, self-contained sample that fails to work.