simple perl script not working
hi all.......
$string='summary';
if($test =~m/($string)/i)
{
$test=~ s/$1/$string/g;
}
here substitution not taking place even if summary word present in $test
is there any mistake in the code....
can anyone please help me...
Thanks in advance....
|