Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 cooling their heels in the Monastery: (19)
As of 2014-08-22 19:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (163 votes), past polls