> I don't see how '*@*.aol.*' can match '[EMAIL PROTECTED]'.
> How do you account for the first '.' in the match expression?
By splitting it into @cnames, $domain, $tld and $cc, so that (pseudocode):
$user_cc eq $cc? if $cc
$user_tld eq $tld?
$user_domain eq $domain?
and
foreach( @user_cnames ) {
$_ eq (pop|shift) @cnames?
} # which won't evaluate true if @user_cnames=undef
I hope that helps.
Grant M.
_______________________________________________
Boston-pm mailing list
[EMAIL PROTECTED]
http://mail.pm.org/mailman/listinfo/boston-pm