Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:


I have written some code that sends MS Alerts. It works well, but I cannot figure out how to trap errors. I want to be able to trap errors in a manner similar to the asp error object or at least retrieve the same info.