$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
In reply to Re: problem in search pattern
by davido
in thread problem in search pattern
by rsennat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |