First of all, you shouldn't leave fatalsToBrowser on in production code for security reasons. The error that you are showing includes detailed information about what went wrong, which is extremely useful to anyone who is trying to break into your system. For instance looking at your error message I immediately see that you are running Windows installed in the C: drive, and you are using IndigoPerl.
Secondly, hiding the error won't make it go away. Mime::Lite isn't loading properly. That means that functions from it that you might want to access won't be there. Your software may appear to work in many ways, but I guarantee you that anything which is supposed to hapen after you load Mime::Lite isn't actually happening. (Are you sending the email that you think you're sending?) If you think that it is, then I guarantee you that you are looking at one section of code and thinking that it did X when X is done in another section of code.
Incidentally the reasoning behind my guarantee is that fatalsToBrowser can only kick in, after you encountered a fatal error. That is, your program died, and the message that you see was its dying gasp.
Third I can tell you how to hide the errors. Just put eval around the statement that is causing error messages. That won't fix them, of course, but it sweeps them under the carpet. (Of course doing so liberally is a bad idea...)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.