Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Validate newline delimited email list

by philosophia (Sexton)
on Jan 12, 2007 at 21:35 UTC ( [id://594461]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        my ($error) = 0;
        my (@other_addresses) = split( /\n/, $email_list );
    ...
            }
         $error_message .= "$error Email list contains an invalid email ad
    +dress.<br>" if $error;
    
  2. or download this
    address(test@test.com ) = error 1
    address(test2@test.com) = test2@test.com error 1
    There was an error with your form submission.
    
    1 Email list contains an invalid email address.
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found