| 1 | ################################################################################ |
1 | ################################################################################ |
| 2 | # WeBWorK Online Homework Delivery System |
2 | # WeBWorK Online Homework Delivery System |
| 3 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
3 | # Copyright © 2000-2006 The WeBWorK Project, http://openwebwork.sf.net/ |
| 4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator/Problem.pm,v 1.195 2006/02/07 21:03:25 sh002i Exp $ |
4 | # $CVSHeader: webwork-modperl/lib/WeBWorK/ContentGenerator/Problem.pm,v 1.196 2006/03/02 16:50:39 apizer Exp $ |
| 5 | # |
5 | # |
| 6 | # This program is free software; you can redistribute it and/or modify it under |
6 | # This program is free software; you can redistribute it and/or modify it under |
| 7 | # the terms of either: (a) the GNU General Public License as published by the |
7 | # the terms of either: (a) the GNU General Public License as published by the |
| 8 | # Free Software Foundation; either version 2, or (at your option) any later |
8 | # Free Software Foundation; either version 2, or (at your option) any later |
| 9 | # version, or (b) the "Artistic License" which comes with this package. |
9 | # version, or (b) the "Artistic License" which comes with this package. |
| … | |
… | |
| 30 | use WeBWorK::Debug; |
30 | use WeBWorK::Debug; |
| 31 | use WeBWorK::Form; |
31 | use WeBWorK::Form; |
| 32 | use WeBWorK::PG; |
32 | use WeBWorK::PG; |
| 33 | use WeBWorK::PG::ImageGenerator; |
33 | use WeBWorK::PG::ImageGenerator; |
| 34 | use WeBWorK::PG::IO; |
34 | use WeBWorK::PG::IO; |
| 35 | use WeBWorK::Utils qw(readFile writeLog writeCourseLog encodeAnswers decodeAnswers ref2string makeTempDirectory path_is_subdir); |
35 | use WeBWorK::Utils qw(readFile writeLog writeCourseLog encodeAnswers decodeAnswers ref2string makeTempDirectory path_is_subdir sortByName); |
| 36 | use WeBWorK::DB::Utils qw(global2user user2global findDefaults); |
36 | use WeBWorK::DB::Utils qw(global2user user2global findDefaults); |
| 37 | use URI::Escape; |
37 | use URI::Escape; |
| 38 | |
38 | |
| 39 | use WeBWorK::Utils::Tasks qw(fake_set fake_problem); |
39 | use WeBWorK::Utils::Tasks qw(fake_set fake_problem); |
| 40 | |
40 | |