in reply to Turning off case sensitivity when using conditions
That is regexp power man, but it is not the best solution. And I did not claim it is the fastest. (now comes the benchmark people:)if ($var =~ /^cheese$/i) { # got it }
-- tune
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re (tilly) 2: Turning off case sensitivity when using conditions
by tilly (Archbishop) on Apr 24, 2001 at 16:08 UTC |