Diff for /loncom/homework/grades.pm between versions 1.482 and 1.483

version 1.482, 2007/11/06 11:21:21 version 1.483, 2007/11/06 11:48:48
Line 5453  sub scantron_parse_scanline { Line 5453  sub scantron_parse_scanline {
     } elsif (scalar(@array) le 2) {      } elsif (scalar(@array) le 2) {
   
  my $location      = length($array[0]);   my $location      = length($array[0]);
  my $line_num      = $location / $$scantron_config{'Qlength'};   my $line_num      = int($location / $$scantron_config{'Qlength'});
  my $bubble        = $alphabet[$location % $$scantron_config{'Qlength'}];   my $bubble        = $alphabet[$location % $$scantron_config{'Qlength'}];
   
   
  for (my $ans = 0; $ans < $answers_needed; $ans++) {   for (my $ans = 0; $ans < $answers_needed; $ans++) {
     if ($ans eq $line_num) {      if ($ans eq $line_num) {

Removed from v.1.482  
changed lines
  Added in v.1.483


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>