On Thu, Sep 07, 2000 at 04:56:59PM -0400, Roger Espel Llima wrote:
> On Thu, Sep 07, 2000 at 01:25:21PM -0700, Randal L. Schwartz wrote:
> > Man, if I see ONE MORE script that checks for a "legal email",
> 
> well, you could always try to check the address against rfc822... but
> that would be one hell of a regexp, and it'd be mostly useless, since
> the worst that can happen is a bounced email.

Well, see Jeff Friedl's RFC822 REx in MRE, and more interestingly Abigail's
RFC::RFC822::Address, which uses Parse::RecDescent.

Of course, as you say, in that instance there's not a whole lot of point to
the check. But Abigail's module is great fun nonetheless.

-dlc

Reply via email to