> if ($ans =~ /^y$/i) Other people pointed the "if ( lc($ans) eq 'y' )" solution and it should go _much_ faster then using a regex .. Don't try to push regexes whenever you can - eq, index, substr may do a lot for you.
- converting standard input to an upper or lower c... John Pimentel
- Re: converting standard input to an upper o... Jean-Matthieu Guerin
- Re: converting standard input to an upper o... Simon McCaughey
- RE: converting standard input to an upper o... Filip Sneppe \(Yucom\)
- Re: converting standard input to an upper o... Evgeny Goldin (aka Genie)
- Re: converting standard input to an upp... John Fox
- Re: converting standard input to an... Hasanuddin Tamir
- Re: converting standard input to an upper o... Evgeny Goldin (aka Genie)