in reply to problem in search pattern

if( $row{test_name} =~ "CHK" ) { print "CHK-------"; }
This code is not printing "CHK---".
Indeed, it prints "CHK-------"! Please note that this is not only a joke: I'm tring to draw your attention to the need to be very careful about checking what you write, to establish a fruitful communication.