Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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: (4)
As of 2018-02-19 18:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (266 votes). Check out past polls.

    Notices?