in reply to problem in search pattern

$row{test_name} = '{CHK.test: 1 2 3}'; if( $row{test_name} =~ "CHK" ) { print "CHK-------"; }

Rule #1: when you post code and say it doesn't work, make sure that the code you post actually doesn't work. What you posted does print "CHK-------", as it should.


Dave