Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Validate newline delimited email list

by MonkE (Hermit)
on Jan 12, 2007 at 21:53 UTC ( #594468=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://594468]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2022-06-25 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My most frequent journeys are powered by:









    Results (83 votes). Check out past polls.

    Notices?