[LON-CAPA-cvs] cvs: loncom /homework grades.pm
foxr
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 15 Oct 2007 09:47:48 -0000
foxr Mon Oct 15 05:47:48 2007 EDT
Modified files:
/loncom/homework grades.pm
Log:
Fix a tcl-ish typoe
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.458 loncom/homework/grades.pm:1.459
--- loncom/homework/grades.pm:1.458 Fri Oct 12 18:36:56 2007
+++ loncom/homework/grades.pm Mon Oct 15 05:47:47 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.458 2007/10/12 22:36:56 banghart Exp $
+# $Id: grades.pm,v 1.459 2007/10/15 09:47:47 foxr Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5351,7 +5351,7 @@
}
} elsif (scalar(@array) lt 2) {
- my $location = [length($array[0])];
+ my $location = length($array[0]);
my $line_num = $location / $$scantron_config{'Qlength'};
my $bubble = $alphabet[$location % $$scantron_config{'Qlength'}];