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

albertel lon-capa-cvs-allow@mail.lon-capa.org
Wed, 29 Aug 2007 13:41:35 -0000


albertel		Wed Aug 29 09:41:35 2007 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  - syle, eliminate uneeded variables
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.435 loncom/homework/grades.pm:1.436
--- loncom/homework/grades.pm:1.435	Wed Aug 29 06:12:15 2007
+++ loncom/homework/grades.pm	Wed Aug 29 09:41:32 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.435 2007/08/29 10:12:15 foxr Exp $
+# $Id: grades.pm,v 1.436 2007/08/29 13:41:32 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -6542,7 +6542,7 @@
 					('grade_courseid' => $cid),
 					('grade_domain' => $udom),
 					('grade_username' => $uname));
-	my ($garbage, $an) =
+	my (undef, $an) =
 	    split(/_HASH_REF__/,$result, 2);
 
 	my %analysis = &Apache::lonnet::str2hash($an);