--- loncom/homework/Attic/lonproblem.pm 2000/04/12 20:06:16 1.3 +++ 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,201 +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 "