| … | |
… | |
| 17 | |
17 | |
| 18 | #BEGIN { |
18 | #BEGIN { |
| 19 | # local $^W=0; |
19 | # local $^W=0; |
| 20 | # require '/usr/local/lib/perl5/5.6.1/Benchmark.pm'; |
20 | # require '/usr/local/lib/perl5/5.6.1/Benchmark.pm'; |
| 21 | #} |
21 | #} |
| 22 | print "using the perl version of MIME::Base64\n"; |
22 | print STDERR "using the perl version of MIME::Base64\n"; |
| 23 | use MIME::Base64 qw( encode_base64 decode_base64); |
23 | use MIME::Base64 qw( encode_base64 decode_base64); |
| 24 | |
24 | |
| 25 | |
25 | |
| 26 | # These libraries contain files which must at least be available, even though |
26 | # These libraries contain files which must at least be available, even though |
| 27 | # only Global.pm is actively used. |
27 | # only Global.pm is actively used. |
| … | |
… | |
| 31 | ############################################################################### |
31 | ############################################################################### |
| 32 | |
32 | |
| 33 | |
33 | |
| 34 | BEGIN{ |
34 | BEGIN{ |
| 35 | my $GLOBAL_INIT = "/u/gage/webwork/system/lib/Global.pm"; |
35 | my $GLOBAL_INIT = "/u/gage/webwork/system/lib/Global.pm"; |
| 36 | print "Opening $GLOBAL_INIT\n"; |
36 | print STDERR "Opening $GLOBAL_INIT\n"; |
| 37 | require $GLOBAL_INIT or die $GLOBAL_INIT; |
37 | require $GLOBAL_INIT or die $GLOBAL_INIT; |
| 38 | import Global; |
38 | import Global; |
| 39 | } |
39 | } |
| 40 | |
40 | |
| 41 | |
41 | |
| … | |
… | |
| 91 | # "AnswerEvaluatorMaker" |
91 | # "AnswerEvaluatorMaker" |
| 92 | ); |
92 | ); |
| 93 | my $INITIAL_MACRO_PACKAGES = <<END_OF_TEXT; |
93 | my $INITIAL_MACRO_PACKAGES = <<END_OF_TEXT; |
| 94 | DOCUMENT(); |
94 | DOCUMENT(); |
| 95 | loadMacros( |
95 | loadMacros( |
| 96 | "PGcomplexmacros.pl", |
|
|
| 97 | "PGbasicmacro.pl", |
96 | "PGbasicmacros.pl", |
| 98 | "PGchoicemacros.pl", |
97 | "PGchoicemacros.pl", |
| 99 | "PGanswermacros.pl", |
98 | "PGanswermacros.pl", |
| 100 | "PGnumericalmacros.pl", |
99 | "PGnumericalmacros.pl", |
| 101 | "PGgraphmacros.pl", |
100 | "PGgraphmacros.pl", |
| 102 | "PGauxiliaryFunctions.pl", |
101 | "PGauxiliaryFunctions.pl", |
| 103 | "PGmatrixmacros.pl", |
102 | "PGmatrixmacros.pl", |
| 104 | "PGstatisticsmacros.pl" |
103 | "PGstatisticsmacros.pl", |
| 105 | |
104 | "PGcomplexmacros.pl", |
| 106 | ); |
105 | ); |
| 107 | |
106 | |
| 108 | ENDDOCUMENT(); |
107 | ENDDOCUMENT(); |
| 109 | |
108 | |
| 110 | END_OF_TEXT |
109 | END_OF_TEXT |
| 111 | |
110 | |