--- loncom/interface/lontest.pm 2005/04/07 06:56:23 1.16 +++ loncom/interface/lontest.pm 2005/04/07 08:15:41 1.17 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # A debugging harness. # -# $Id: lontest.pm,v 1.16 2005/04/07 06:56:23 albertel Exp $ +# $Id: lontest.pm,v 1.17 2005/04/07 08:15:41 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -87,19 +87,13 @@ sub handler { my $html=&Apache::lonxml::xmlbegin(); my $bodytag=&Apache::loncommon::bodytag("List Environment","admin"); $r->print($html.''.$bodytag); - + $r->print("

Debugging


\n"); $r->print(""); - - my %differences=%ENV; - foreach my $key (sort(keys(%env))) { - if ($env{$key} eq $differences{$key}) { - delete($differences{$key}); - } - } - &print_hash($r,\%differences); - &print_hash($r,\%env); + $r->print("

ENV


\n"); &print_hash($r,\%ENV); + $r->print("

env


\n"); + &print_hash($r,\%env); # ------------------------------------------------ If in a course, print hashes if ($env{'request.course.id'}) {