in reply to Re^2: Count similar characters in a row - only once
in thread Count similar characters in a row - only once
Hi Anonymous Monk, I have had quite a thought about it and I think the thing I would most likely do is to first reduce complexity by removing all duplicated lines with the same integer infront of them. Is this right.
Based on your descriptions it sounds right.
I tried running the script below and then ran the script above -jgg.pl. But the result are not good.
What is wrong with the results?
Any ideas or suggestions how I could marry the two in a sensible fashion
First get your code to do what you want, then think about marriage
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Count similar characters in a row - only once
by $new_guy (Acolyte) on Jun 29, 2011 at 10:47 UTC | |
by Anonymous Monk on Jun 29, 2011 at 13:11 UTC |