$p = Formula("should do the trick.your formula here"); ... ANS($p->cmp(checker => sub { my ($correct,$student) = @_; return $correct == $student || $correct == -$student; });

Davide

$p = Formula("should do the trick.your formula here"); ... ANS($p->cmp(checker => sub { my ($correct,$student) = @_; return $correct == $student || $correct == -$student; });

Davide