[system] / trunk / webwork / system / lib / PGtranslator.pm Repository:
ViewVC logotype

Diff of /trunk/webwork/system/lib/PGtranslator.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 56 Revision 57
143 next; 143 next;
144 } 144 }
145 if ( -r "${courseScriptsDirectory}${module_name}.pm" ) { 145 if ( -r "${courseScriptsDirectory}${module_name}.pm" ) {
146 eval(qq! require "${courseScriptsDirectory}${module_name}.pm"; import ${module_name};! ); 146 eval(qq! require "${courseScriptsDirectory}${module_name}.pm"; import ${module_name};! );
147 warn "Errors in including the module ${courseScriptsDirectory}$module_name.pm $@" if $@; 147 warn "Errors in including the module ${courseScriptsDirectory}$module_name.pm $@" if $@;
148 #warn "loading $module_name";
148 } else { 149 } else {
149 eval(qq! require "${module_name}.pm"; import ${module_name};! ); 150 eval(qq! require "${module_name}.pm"; import ${module_name};! );
150 warn "Errors in including either the module $module_name.pm or ${courseScriptsDirectory}${module_name}.pm $@" if $@; 151 warn "Errors in including either the module $module_name.pm or ${courseScriptsDirectory}${module_name}.pm $@" if $@;
151 } 152 }
152 push(@class_modules, "\%${module_name}::"); 153 push(@class_modules, "\%${module_name}::");

Legend:
Removed from v.56  
changed lines
  Added in v.57

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9