develooper Front page | perl.beginners | Postings from December 2002

Case Insensitive

Thread Next
From:
SATAR VAFAPOOR
Date:
December 3, 2002 05:26
Subject:
Case Insensitive
Message ID:
20021203132655.61702.qmail@web14505.mail.yahoo.com

Hello all,

I want to make comaprisons in an if statement without caring about upper or lower case eg $x='T'; $y='t'  if($x eq $y). can the i that is used in regex be used here or is there another way. Thanks

Sattar



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About