use.perl.org reader amoore’s first journal entry, How to Sneak Testing into Your Development Team is an excellent personal retrospective of improving the quality and test coverage of an existing, large, untested application. I particularly like his (her?) second and third suggestions — especially racheting up quality.

Not every language or environment has the same tools as Perl (particularly the cannot-say-enough-good-things-about-it Perl::Critic), but these suggestions can work with minor modifications in many environments.