in reply to Email::Valid on Win32

Do you have Net::DNS installed?
From pod:
BUGS
Email::Valid should work with Perl for Win32. In my experience, however, Net::DNS queries seem to take an extremely long time when a record cannot be found.

If you still have problems installing and don't need the DNS check, just copy the .pm, hack out the parts of the module that do what you want and save it to a different module. Don't forget to change the package. Alternatively you could also reference the chkaddr as cited in the pod for Email::Valid.

-Lee

"To be civilized is to deny one's nature."

Replies are listed 'Best First'.
Re: Re: Email::Valid on Win32
by chiller (Scribe) on Apr 11, 2002 at 18:13 UTC
    When I say it "won't work, I mean (lifted from the 'bug report' @ CPAN:
    This was tested on two machines The problem I found is that when executing the command: Email::Valid->address($address) returns true when $address = 'whatever@whatever.com{' or 'whatever@whatever.com}' or 'whatever@whatever.com*' or 'whatever@whatever.com$' or 'whatever@whatever.com#' That is all that I tested, but I don't think that those addresses shou +ld return true. Mitch Freed ICServ Inc. mitch@icserv.net
    So, I am not sure what to take out. I don't need the DNS check.
      I see what you mean. The regex lets that pass on my win box (5.005, Hacked it out into a seperate file). I went looking for the problem but the regex is huge. I spent an hour trying to figure it out but it's beyond my meager regex experience.

      -Lee

      "To be civilized is to deny one's nature."