--- loncom/homework/grades.pm 2007/10/12 22:36:56 1.458 +++ loncom/homework/grades.pm 2007/10/15 09:47:47 1.459 @@ -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 @@ sub scantron_parse_scanline { } } 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'}];