I'm attempting to parse a domain name out of a email address with the following code:
my $EmailAddress = $to;
if ($EmailAddress =~ (/^\w+\@aol\.com)$/i){
my $msg = "/www/docs/sips_mar02aol.txt";
} else
my $msg = "/www/docs/sips_mar02.html";
}
Being new to regular expressions I'm not at all certain why this does not
work.
Thank you,
Eric
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
