Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Email-Valid CPAN distribution.

Report information
The Basics
Id: 56828
Status: resolved
Priority: 0/
Queue: Email-Valid

People
Owner: Nobody in particular
Requestors: MSCHOUT [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.183_001
Fixed in: (no value)



Subject: Net::DNS Resolver not initialized
The $Resolver object in Email::Valid is not initialized until you try to look something up with it. This is a problem if you need to change Resolver settings as documented. e.g.: the following will not work: use Email::Valid; $Email::Valid::Resolver->tcp_timeout(15); because $Email::Valid::Resolver has not yet been initialized. I fixed this by initializing $Resolver if necessary in import() here: http://github.com/mschout/email-valid/commit/bf09c93c I also added a test case. I am sending a pull request to you via github for this as well. Thanks!
merged, released. -- rjbs