Perl: the Markov chain saw | |
PerlMonks |
Re^2: Trap the error msg from Mime::Liteby chrism01 (Friar) |
on Jan 23, 2008 at 04:28 UTC ( [id://663741]=note: print w/replies, xml ) | Need Help?? |
Thx, That seems to work. The only problem is that it outputs to stdout. What I need to do is capture those error(s), print a copy to stdout (which along with stderr is re-directed to my logfile) and save a copy in a variable that I can then use elsewhere. I'm having trouble re-arranging your code to do that (save a copy) Help..
Cheers
In Section
Seekers of Perl Wisdom
|
|