Perl.com: Program Repair Shop and Red FlagsMay 07, 2000, 18:13 (0 Talkback[s])
(Other stories by Mark-Jason Dominus)
[ Thanks to Ben Tilly for this link. ]
"I've taken a real program written by a genuine novice and shown how to clean it up and make it better. I also show how to recognize some "red flags" that are early warning signs that you might be doing some of the same things wrong in your own programs."
"Someone recently asked me to take a look at his report-generating program because he wasn't able to get the final report sorted the way he wanted."
"The program turned out to require only a minor change to get the report in order, but it also turned out to be a trove of common mistakes--which is wonderful, because I can use one program to show how to identify and fix all the common mistakes at once!"