Re: Validating email addresses
From: Jürgen Exner (jurgenex_at_hotmail.com)
Date: 08/11/04
- Next message: Eric Bohlman: "Re: Joining 2 strings"
- Previous message: Andrew Palmer: "Re: Reading next line, finding missing number in sequence"
- In reply to: Arthur: "Validating email addresses"
- Next in thread: Arthur: "Re: Validating email addresses"
- Reply: Arthur: "Re: Validating email addresses"
- Reply: Arthur: "Re: Validating email addresses"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 11 Aug 2004 05:23:21 GMT
Arthur wrote:
> Hi All,
>
> I'm using that Perl module: Mail::RFC822::Address qw(valid).
>
> I am not getting any of the expected results at all. First off, the
> perl code compiles, so that means it found Mail::RFC822::Address.
>
> When I ran the test:
>
> if (valid("me@mail.com")) {
You elected to have perl interpolate the array @mail.
Somehow I doubt this is really what you want.
Use single quotes if you don't want Perl to interpolate @mail.
BTW: if you would have enabled warnings then perl would have told you
(unless you actually do have an array named @mail).
jue
- Next message: Eric Bohlman: "Re: Joining 2 strings"
- Previous message: Andrew Palmer: "Re: Reading next line, finding missing number in sequence"
- In reply to: Arthur: "Validating email addresses"
- Next in thread: Arthur: "Re: Validating email addresses"
- Reply: Arthur: "Re: Validating email addresses"
- Reply: Arthur: "Re: Validating email addresses"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|