Now, I only say this because the OP said (and I paraphrase) "I have a bunch of spaghetti that I can't figure out, so how do I clean it up?" The answer is "Write some tests, then refactor, then write some tests, then refactor, then ..."
Your testsuite then becomes the basis for your documentation. Obviously, you convert all the ok() calls into English or Swahili or whatever, but it's still the foundation.
|Replies are listed 'Best First'.|
Re^4: Analyzing large Perl code base.
by kscaldef (Pilgrim) on Apr 15, 2005 at 16:40 UTC