Next Program Repair Shop 175

Uniform Data Representations

   451        if ($move =~ /:/) {
   452           $move =~ s/^(\d):(\d)/$1$2/;
   453        }
   454        else {
   455           $move =~ s/^\[(\d)\]\[(\d)\]/$1$2/;
   456        }
        0:2
        [0][2]
   287              $z = "[$x][$y]";
   288              if ($move eq $z) {
                    if ($move eq "$x$y") {


Next Copyright © 2002 M. J. Dominus