in reply to newb question
Perhaps you mean if ($testname eq $name)? Or if you really want to see if $testname contains the string in $name, say if ($testname =~ /(\Q$name\E)/), or even just if (index($testname, $name) >= 0).
By the way, are you intentionally skipping the first element in each @$row_arr_today? If not, use 0.., not 1...
|
|---|