|
|
| Perl-Sensitive Sunglasses | |
| PerlMonks |
Re: How to capture the failure reason of Email::Sender?by Jenda (Abbot) |
| on Oct 02, 2018 at 14:56 UTC ( [id://1223412]=note: print w/replies, xml ) | Need Help?? |
|
If it throws an exception and you don't catch it, then the program dies. In pure Perl you throw using the die() builtin and catch using the eval BLOCK builtin. Jenda
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||