in reply to Re: Re: CGI + regex help
in thread CGI + regex help

Ok. We know that '', 0, and undef are all invalid e-mail addresses so just alter the validate_email_address sub as such:

sub validate_email_address { my $addr_to_check = shift or return "";

Hope this helps.

antirice    
The first rule of Perl club is - use Perl
The
ith rule of Perl club is - follow rule i - 1 for i > 1