in reply to Re: Net::SMTP halts script
in thread Net::SMTP halts script

The version of perl you're using may come into play. If you're on a production machine and want to upgrade, I highly recommend Perlbrew.

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.

Replies are listed 'Best First'.
Re^3: Net::SMTP halts script
by Anonymous Monk on Aug 18, 2014 at 14:01 UTC
    Thanks. I will take a look.