Next Program Repair Shop 247

Try it Both Ways

        sub cleanup {
          my $i = shift;
          $i =~ s/.*=//s;
          $i =~ tr/01//cd;
          return [ split //, $i ]
        }
        sub cleanup {
          local $_ = shift;
          s/.*=//s;
          tr/01//cd;
          return [ split
] }


Next Copyright © 2002 M. J. Dominus