Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Trap the error msg from Mime::Lite

by chrism01 (Friar)
on Jan 24, 2008 at 00:07 UTC ( #663913=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    package Test::Trap;
    
    use version; $VERSION = qv('0.1.0');
    
  2. or download this
        # Send
        trap { $msg->send or $error_msg = "Error: $! $@\n" };
        $_ and $error_msg .= ": $_\n" for $trap->die, $trap->stdout, $trap
    +->stderr;
        exit_with_error("email_csv_file() failed: $error_msg") if( $error_
    +msg );
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2016-10-01 22:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (8 votes). Check out past polls.