Next Program Repair Shop 250

Missing Element 0

      next unless /\t*chain\s+"chain([0-9])"/;
      $chain[$1 - 1] = cleanup($_);
      for (@chain[1..$#chain]) { 
        $_->[$i] =~ s/0/L/g; 
        $_->[$i] =~ s/1/H/g;
      }
      shift @chain;
      for (@chain) { 
        $_->[$i] =~ s/0/L/g; 
        $_->[$i] =~ s/1/H/g;
      }
      for (@chain) { 
        next unless defined;
        $_->[$i] =~ s/0/L/g; 
        $_->[$i] =~ s/1/H/g;
      }


Next Copyright © 2002 M. J. Dominus