On Fri, Jul 02, 2010 at 06:46:24PM +0200, Leon Timmermans wrote: > My suggestion would be to make sure all new code examples are properly > tested by unit tests, and incrementally try to make that true for old > code examples. Examples with bugs in them are rather embarrassing.
I really like that idea! Each perldoc document could be backed by a parallel unit test file, which could also serve as useful instruction to the reader on how to write good tests.