You should check out a module called Email::Find, it will match email addresses in a string, and uses Email::Valid underneath to validate each match.
Here is some sample code that matches email addresses in a string, and pushes each of them onto an array. All you'll have to do is check to make sure that @MATCHES has only a single element, then you know the user has submitted one email address.
In reply to (dkubb) Re: (2) Checking on multiple email addresses in a string
by dkubb
in thread Checking on multiple email addresses in a string
by c
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |