in reply to RE: Email::Valid
in thread Email::Valid

Actually, that code has been included. Obviously someone else did find it useful ;-)
Just use the -fudge parameter:
#!/usr/bin/perl -w require 5; use strict; use Email::Valid; my $email = 'demon warez dood@aol.com'; eval { if (my $addr = Email::Valid->address( -address => $email, -mxcheck => 1, -fudge => 1 )) { print "$addr OK\n"; } else { print "$addr failed $Email::Valid::Details check.\n"; } }; warn "an error was encountered: $@" if $@;

Replies are listed 'Best First'.
RE: RE: RE: Email::Valid
by KM (Priest) on Sep 19, 2000 at 06:37 UTC
    No, that is another feature. That one cleans up spaces and such, my patch fixes foo@aol to foo@aol.com... both useful :)

    Cheers,
    KM