in reply to Dealing with Email::Valid timeout
Hi,
the documentation of Email::Valid mentions the fact that an exception could be thrown. Therefor it's part of the API. To cite the relevant part:
If an error is encountered, an exception is raised. This is really only possible when performing DNS queries. Trap any exceptions by wrapping the call in an eval block:
McA
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Dealing with Email::Valid timeout
by Steve_BZ (Chaplain) on Nov 26, 2014 at 15:38 UTC |