Next Program Repair Shop 256

Avoid Special Cases

    33            for ($i=0;$i<@{$chain[3]};$i++){

        my $BAD_LENGTH;
        for my $n (1 .. $#chains) {
          unless (@{$chains[$n]} == @{$chains[1]}) {
            warn "Chain 1 and chain $n have different lengths!\n";
            $BAD_LENGTH = 1;
          }
        }
        exit 1 if $BAD_LENGTH;
      for ($i=0;$i<@{$chain[1]};$i++){


Next Copyright © 2002 M. J. Dominus