--- loncom/homework/Attic/lonproblem.pm 2000/02/22 21:32:17 1.2 +++ loncom/homework/Attic/lonproblem.pm 2001/08/06 18:35:51 1.4 @@ -1,7 +1,10 @@ -# The LearningOnline Network with CAPA +# The LON-CAPA problem handler +# # Problem Handler # # 12/15-01/21,01/24 Gerd Kortemeyer +# 4/12 Guy Albertelli +# 8/6 Scott Harrison package Apache::lonproblem; @@ -11,197 +14,198 @@ use Safe; use Apache::File; # ================================================================ Main Handler - sub handler { -my $r=shift; -my @parsecontents; -my $parsestring; -my $outstring; - -{ - my $fh=Apache::File->new($r->filename); - @parsecontents=<$fh>; -} - -$parsestring=join('',@parsecontents); - -print "