Michael Schwern gave a talk on skimmable code at YAPC this morning, much of which was a refactoring of some ugly parts of WWW::Mechanize. How embarrassing!

Do take a look at his slides. Lots of goodness in there. One idea that had never occurred to me: "End-of-scope comments violate the DRY principle, you're repeating code."