use strict; my $test="yes"; print "test=$test\n"; if ($test eq "\Lyes") { print "yes\n"; }else{ print "no\n"; }