" I'm not sure if this is meant as a complaint or just a point of information for others."
The latter. The behavior is understandable (indeed, I explained it myself) but counterintuitive from the point of view of a humble problem author: why should hitting "Check Answers" cause all the perl code to be re-evaluated?
I hope I prevent someone else from suffering as I did.
WeBWorK Main Forum
perl keys function constantly re-evaluated?
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day