We just upgraded from 2.4.7 to 2.5.1.1.
I have a perl script I wrote under 2.4.7 to add courses in batches (we're typically using WeBWorK in on the order of 100 courses per term, so it is nice not to be adding them through the admin interface). I'm not especially proud of it, but it seemed to work, and is attached.
I ported the script to the new version of WeBWorK, and had to make some very small changes in the "use" lines to get it to work. It works now, but it generates the following error message (which has no detectable effect so far):
I think it produces this error once at the beginning, and then every time it calls wwdb.Use of uninitialized value $WeBWorK::Constants::WEBWORK_DIRECTORY in concatenation (.) or string at /opt/webwork/webwork2/lib/WeBWorK/Constants.pm line 38.
If anyone has any insight on what is going on and how I should make it stop, I'd greatly appreciate it!
thanks, Hal
Hal Sadofsky
Mathematics Department
University of Oregon