WeBWorK Problems

defined(%hash) is deprecated

Re: defined(%hash) is deprecated

by Geoff Goehle -
Number of replies: 0
Hi, sorry for the late reply. I ended up using

find . -name "*.pm" -exec sed -i 's/defined(/([@%][a-zA-Z]*\))/\1/ {} \;

to remove all of the code causing the warnings (my students were using them as an excuse not to do anything.) I probably broke something in the process though, so I dont recommend it.

To answer your questions:
We are currently running, as reported by eix,
-perl version 5.12.2-r1 (the r1 may be gentoo specific).
-perl-safe version 2.19

I havent risked upgrading perl safe since its the middle of the semester. I'll try again after term ends.