by Andras Balogh -
Number of replies: 0

I just updated to fedora 9 (in the middle of the semester, like a noob)
to realize that perl 5.10.x creates warning messages like

>> Useless use of a constant in void context at /opt/webwork/pg/lib/WeBWorK/ line 42

An update to pg-2.4.5 eliminated the above problem but introduced the following new warning for function checking:

The simple problem


Enter function "x" \{ans_rule(10)\}

Creates the following warning after entering anything as answer:

Use of uninitialized value in pattern match (m//) at line 1039 of [PG]/macros/

Otherwise everything else seems to work correctly.

The above mentioned line contains
and $rh_ans->{ans_equals_prev_ans} # equivalent