$row_arr_today = $res_sched[$row] ##@res_sched is an array of arrays for $person(1..$#{$row_arr_today}) { ##cycle through the array$row_arr_today from element 1 $name = $row_arr_today->[$person] ##assign to $name the $person element in that array foreach $row(0..$#namearray) { ## @namearray is another array of arrays $testname = $namearray[$row][0]; if ($testname =~ /($name)/){} ##this line returns the error: ##Quantifier follows nothing in regex; marked by <-- HERE in m/* <-- HERE X*/ at loadsched.pl line 66. What basic piece of info am I missing? Thanks };