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...
In reply to Re: newb question
by ysth
in thread newb question
by anesthdr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |