if($title_checking eq $titlenamefromindex) { condition; }