The more direct method of dealing with this is wrapping the call in an eval and checking the result in $@ afterward to see if you had success.
In reply to Re^2: Net::SMTP halts script
by jellisii2
in thread Net::SMTP halts script
by nperrins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |