In case dns could not be resolved and one of inner modules respond with timeout, the whole function call would break and quite the program
the easiest way of simulating this issue is using iptables to block outgoing udpo port 53 and start to use:
(Email::Valid->address( -address => $email_address,
-mxcheck => 1 ,
-tldcheck =>1,
-fqdn =>1,
-fudge =>1) ? "yes" : "no");
in a loop and see the program will get terminated
In case dns could not be resolved and one of inner modules respond with timeout, the whole function call would break and quite the program the easiest way of simulating this issue is using iptables to block outgoing udpo port 53 and start to use: (Email::Valid->address( -address => $email_address, -mxcheck => 1 , -tldcheck =>1, -fqdn =>1, -fudge =>1) ? "yes" : "no"); in a loop and see the program will get terminated