Next Program Repair Shop 265

printout

      sub printout {
        for my $i (0 .. $#{$chain[1]}){
          my @chars;
          for (@chain) { 
            next unless defined;
            if ($ct_scanout) {
              $_->[$i] =~ tr/01/LH/; 
            } else {
              $_->[$i] =~ tr/X/0/;
            }
            push @chars, $_->[$i];
          }
          print OUTFILE 
            $ct_scanout ? "\n(ct_so\n" : "\n(ct_si  $ct_si{tdi}\n",
            join("", @chars), "\n )";
        }
      }


Next Copyright © 2002 M. J. Dominus