Check emails one by one, but not both as one.
Use standard regexp: //, not qr().
Use \s instead of ' ' in regexp.
Merge pull request #3 from wtertius/Allow_several_emails

Check emails one by one, but not both as one.