laziness, impatience, and hubris | |
PerlMonks |
Re^4: Trap the error msg from Mime::Liteby chrism01 (Friar) |
on Jan 24, 2008 at 00:07 UTC ( [id://663913]=note: print w/replies, xml ) | Need Help?? |
Thx for the warning(!). Just checked and the 1st 2 lines are: so hopefully that's all good. :) Actually, I already came up with this: to try and get everything. Looks ok?
My exit_with_error($msg) sub sends a regular email via Mail::Mailer and prints to the logfile, then cleans up other stuff and and exit(1) etc.
Cheers
In Section
Seekers of Perl Wisdom
|
|