Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Syntactic Confectionery Delight
 
PerlMonks  

Re: Dealing with sloppy code

by 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.


in reply to Dealing with sloppy code

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://509521]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.