The debugger has now been commented, top to bottom.
It was an interesting job, and well worth doing. Not only did I learn a lot, but something that others will be able to use has come out of it. In addition, I learned a lot about how to check a vastly re-commented, re-whitespaced source against the original. For those interested:
perltidy -syn -dsm -naws -dnl -sob -dac -ce -bar
This will syntax-check the output, delete extra null statements, don't add whitespace, delete old newlines and re-break, "swallow" optional blank lines, delete all comments, cuddled elses, opening brace always on right
perl -p -e 'next if /^[\+\-]\s*$/'
Thanks!
We all owe you some beers this summer. What's your favorite?
Re:WOW!
pemungkah on 2003-06-10T15:05:40
I loved the stuff at the Church Brewpub in Pittsburgh; we'll have to see what's cookin' in Portland.:)
-b
or -w
when you run diff to avoid seeing whitespace changes?
Re:Whitespace changes
pemungkah on 2003-06-10T15:03:46
-w seemd to help some (thanks!), but newlines are still a problem here and there. More fiddling with perltidy might do it.
I think the real problem is that it's not easy to parse perl and do a real semantic diff.