Just change the comparison type ... If (lc($a) eq lc($b)) {
do(something); }


> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of [EMAIL PROTECTED]
> Sent: Thursday, August 05, 2004 1:11 PM
> To: [EMAIL PROTECTED]
> Subject: 'eq' operator case insensitive?
> 
> 
> Is there a way to change the behavior of the 'eq' operator? I 
> want it to perform case insensitive comparisons.
> 
> Kurt
> 
> _______________________________________________
> ActivePerl mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to