|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re: Dealing with sloppy codeby zentara (Cardinal) |
| on Nov 17, 2005 at 13:55 UTC ( [id://509521]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I'm probably stating the obvious, but running code thru perltidy
often helps to clarify what is going on. Also I like ptkdb ( the Tk front end to the perl debugger), it lets you step thru code, set break points, watch variables, and visually see how the code jumps. After some initial analysis, you can start separating code out into sections, then subs, etc.
I'm not really a human, but I play one on earth. flash japh
In Section
Meditations
|
|
||||||||||||||||||||||||