I would like majorcool to do case insentive comparisons when checking
for email addresses in lists. We have some people as John_Doe@corp.com
john_doe@corp.com and JOHN_DOE@corp.com (and all other combinations).
They are all the same person. I made a quick fix to majorcool.pl.
Does this look like a legit fix?
*** majorcool.pl Fri Sep 5 12:05:19 1997
--- majorcool.pl.orig Fri Sep 5 12:09:51 1997
***************
*** 2292,2298 ****
# Majordomo will(should) not allow duplicate
# addresses, so one match is sufficient
# for the straight comparison case
! if ( /$address/i ) {
$hit = "$_\n";
last;
last;
}
--- 2292,2298 ----
# Majordomo will(should) not allow duplicate
# addresses, so one match is sufficient
# for the straight comparison case
! if ($_ eq $address) {
$hit = "$_\n";
last;
}
--
Alan Edmonds, KB5ZUY Sterling Software
System Administrator, Composer Development M/S 8515
Phone: +1-972-575-6427 6620 Chase Oaks Blvd.
Email: Alan.Edmonds@ti.com Plano, TX, USA 75023
|
|