How odd, I use:

if (lc($v1) eq lc($v2) 
{...}

Well as they say, there is more then one way to do things.... especially in
Perl.  


-Wayne Simmons

CAM Automation Programmer
Unicircuit Inc.
Littleton, Colorado


 

> -----Original Message-----
> From: Greg [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 05, 2004 12:21 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: 'eq' operator case insensitive?
> 
> try:
> if (uc($v1) eq uc($v2) {
>     ....something....
> }
> 
> HTH
> Greg
> 
> [EMAIL PROTECTED] wrote:
> 
> >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
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to