use strict; my $test="yes"; print "test=$test\n"; if ($test eq /yes/i) { print "yes\n"; }else{ print "no\n"; } [download]
In reply to Case insensitive string compare by Anonymous Monk