Perl warning - configuration problem? | topic started 9/28/2001; 8:19:02 PM last post 9/28/2001; 8:28:58 PM |
|
Michael Gage - Re: Perl warning - configuration problem? 9/28/2001; 8:28:58 PM (reads: 1230, responses: 0) |
You have an old version of either PGgraphmacros.pl or PGanswermacros.pl or
both. The call from string_to_sub to function_from_string2 is using obsolete option names and this is being caught by set_default_options You can probably fix this for now by changing 'vars' = to 'ra_vars' = in string_to_sub subroutine as shown below.
sub string_to_sub {
You could also get the newest versions of PGanswermacros.pl and PGgraphmacros.pl from http://webwork.math.rochester.edu/cgi-bin/cvsweb.cgi -- they'll all be out in the new version 1.7 of webwork which Arnie should have ready shortly. -- you'll see that in addition to fixing the string_to_sub subroutine, the function_from_string2 subroutine has been modified to allow vars as an alias for ra_vars Hope that clears things up. -- Mike |