[LON-CAPA-cvs] cvs: loncom /homework matchresponse.pm

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 19 Mar 2003 19:10:17 -0000


sakharuk		Wed Mar 19 14:10:17 2003 EDT

  Modified files:              
    /loncom/homework	matchresponse.pm 
  Log:
   Correction: array for the printing output has to be cleaned up every time when invoking.
  
  
Index: loncom/homework/matchresponse.pm
diff -u loncom/homework/matchresponse.pm:1.7 loncom/homework/matchresponse.pm:1.8
--- loncom/homework/matchresponse.pm:1.7	Wed Mar 19 13:36:37 2003
+++ loncom/homework/matchresponse.pm	Wed Mar 19 14:10:16 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Full matching style response
 #
-# $Id: matchresponse.pm,v 1.7 2003/03/19 18:36:37 sakharuk Exp $
+# $Id: matchresponse.pm,v 1.8 2003/03/19 19:10:16 sakharuk Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -33,7 +33,7 @@
 use Math::Random();
 use Apache::optionresponse;
 
-my @Items;
+my @Items = ();
 
 BEGIN {
     &Apache::lonxml::register('Apache::matchresponse',('matchresponse'));