Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Program Comments

by apl (Monsignor)
on Mar 21, 2010 at 15:26 UTC ( #829957=note: print w/replies, xml ) Need Help??


in reply to Program Comments

Don't include comments (like #prints the initial value of $count before the while loop started at line 76) that refer to specific line numbers. Your program will change, and line numbers will almost certainly change. If it's important to keep track of a specific line, I suggest you use a label and refer to that.

Before worrying about comments, though, I'd improve the formatting of the code...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://829957]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2017-09-23 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (273 votes). Check out past polls.

    Notices?