Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Trap the error msg from Mime::Lite

by Sidhekin (Priest)
on Jan 22, 2008 at 17:25 UTC ( #663637=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
        # Send
        trap { $msg->send or print "Error: $@\n" };
        $_ and print "Error: $_\n" for $trap->die, $trap->stdout, $trap->s
    +tderr;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://663637]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2016-08-30 22:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The best thing I ever won in a lottery was:















    Results (424 votes). Check out past polls.