the "r...@i.frys.com" address may not be matched by my regexp, because here two 
dots after @. Here it is more universal: /\A.+?\@.+?\..+\Z/

10.07.2014, 21:43, "Sunita Pradhan" <sunita.pradhan.2...@hotmail.com>:
> I do not want to use Cpan modules .
>
> -Sunita
>
>> Date: Thu, 10 Jul 2014 11:33:24 -0700
>> Subject: Re: script to match a valid email id
>> From: r...@i.frys.com
>> To: sunita.pradhan.2...@hotmail.com
>> CC: beginners@perl.org
>>
>> Sunita Pradhan wrote:
>> > I want to write a script which will verify a valid email address .
>> > Could anybody give some ideas , how to write a pattern for this ?
>> >
>> > -Sunita
>> >
>>
>> Take a look at the Email::Valid module.
>> http://search.cpan.org/~rjbs/Email-Valid-1.194/lib/Email/Valid.pm
>>
>>
>> --
>> To unsubscribe, e-mail: beginners-unsubscr...@perl.org
>> For additional commands, e-mail: beginners-h...@perl.org
>> http://learn.perl.org/
>>
>>

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to