in reply to Validate newline delimited email list

Are you using Perl 5.0.0.4 or newer? Because it's a preqrequisite mentioned on CPAN.

What happens if you evaluate Email::Valid->address('redstone@nasa.gov') or some other string constant, email address that you know to be valid? I ask because perhaps you are having character encoding issues on your form submission.

  • Comment on Re: Validate newline delimited email list

Replies are listed 'Best First'.
Re^2: Validate newline delimited email list
by philosophia (Sexton) on Jan 12, 2007 at 22:06 UTC
    perl 5.8.5.

    'redstone@nasa.gov' evaluates correctly, as in Email::Valid->address('redstone@nasa.gov') returns the email address. An invalid email address returns nothing.