| Next | Program
Repair Shop ![]() |
248 |
sub cleanup {
local $_ = shift;
s/.*=//s;
tr/01//cd;
return [ split
]
}
Oops! The automatic test fails!
Turns out it should have been:
sub cleanup {
local $_ = shift;
s/.*=//s;
tr/01X//cd;
return [ split
]
}
Perhaps tr/" \t\n\\//d would have been safer
What do you think?
| Next | ![]() |
Copyright © 2002 M. J. Dominus |