Next Program Repair Shop 246

Try it Both Ways

        sub cleanup {
          my $i = shift;
          my ($bits) =   $i =~ /=\s*"(.*)"/s;
          $bits =~ tr/01//cd;
          return [ split //, $bits ]
        }
        sub cleanup {
          my $i = shift;
          $i =~ s/.*=//s;
          $i =~ tr/01//cd;
          return [ split //, $i ]
        }


Next Copyright © 2002 M. J. Dominus