From: Mike G. v. a. <we...@ma...> - 2010-06-27 23:52:58
|
Log Message: ----------- Enabled extra warning messages Modified Files: -------------- webwork2/lib/WeBWorK/PG: Local.pm Revision Data ------------- Index: Local.pm =================================================================== RCS file: /webwork/cvs/system/webwork2/lib/WeBWorK/PG/Local.pm,v retrieving revision 1.31 retrieving revision 1.32 diff -Llib/WeBWorK/PG/Local.pm -Llib/WeBWorK/PG/Local.pm -u -r1.31 -r1.32 --- lib/WeBWorK/PG/Local.pm +++ lib/WeBWorK/PG/Local.pm @@ -95,9 +95,9 @@ # "user=".$user->user_id.",problem=".$ce->{courseName}."/".$set->set_id."/".$problem->problem_id.",mode=".$translationOptions->{displayMode}, # "begin"); - # install a local warn handler to collect warnings + # install a local warn handler to collect warnings FIXME -- figure out what I meant to do here. my $warnings = ""; - local $SIG{__WARN__} = sub { $warnings .= shift()."<br/>\n"}; + #local $SIG{__WARN__} = sub { $warnings .= shift()."<br/>\n"}; #if $ce->{pg}->{options}->{catchWarnings}; # create a Translator |