Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
like, I am really new to perl and what not, so please don't make fun of me or I will cry and be forced to leave my home and forge through trash cans and what not...
ok... so here we go. If I write an If statement and want to check to see if um... let's say $word and $word1 are equal, $word1 being from a database, how could I check to see whether they are equal, regardless of the case of the letters.
For example.
I want Cheese to be equal to cheese
how would I do that?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Turning off case sensitivity when using conditions
by Kanji (Parson) on Apr 24, 2001 at 06:24 UTC | |
|
Re: Turning off case sensitivity when using conditions
by rchiav (Deacon) on Apr 24, 2001 at 06:20 UTC | |
|
Re: Turning off case sensitivity when using conditions
by tune (Curate) on Apr 24, 2001 at 06:37 UTC | |
by tilly (Archbishop) on Apr 24, 2001 at 16:08 UTC | |
|
Re: Turning off case sensitivity when using conditions
by diarmuid (Beadle) on Apr 24, 2001 at 17:00 UTC |