From: Davide P.C. <dp...@un...> - 2005-09-13 14:10:43
|
> I'm hoping you can help me out.=A0 I'm getting a bug on the following=20= > problem below whenever 'DNE' is entered as an answer. It turns out this is a result of your having updated the str_cmp answer=20= checker to return an AnswerEvaluator object rather than a CODE=20 reference. The check_string filter uses str_cmp the check the answer,=20= but uses it as a CODE reference, so I changed that to=20 $ans_eval->evaluate($ans) and that took care of it. I haven't looked=20 to see that there aren't other places where this might occur. Davide |