in reply to Case insensitive string compare
Or!!! Use the \L escape.
use strict; my $test="yes"; print "test=$test\n"; if ($test eq "\Lyes") { print "yes\n"; }else{ print "no\n"; } [download]