Could wrap it in either a uc or lc like lc($email) eq lc($name_list[10]) or uc
or
use reg like $email=~ /^$name_list[10]$/i
Wags ;)
-----Original Message-----
From: Rory O'Connor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 14:59
To: [EMAIL PROTECTED]
Subject: ignoring case when comparing two vars
I am comapring e-mail addesses in this fashion:
if ($email eq $name_list[10]) { whatever }
but i just realized that the email address can be the same but the case
different and it won't match. How can I ignore the case for the purpose
of comparison?
Thanks!
providing the finest in midget technology
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]