![]() |
Perlaccess : Tutorials : General Documenting your Script (11.1) by Brett Roberts http://www.bigresources.com |
While writing or modifying your scripts, be sure to write comments documenting
what you are coding. This is essential in writing scripts as a web programmer
because a lot of times other programmers will find your scripts and wish
to learn why you coded a certain way.
1). At the beginning of a line, type # to start the comment 2). Type your comments following the # 3). Repeat the steps above for each line of code.
1). Type a line of code and don't forget the semicolon that ends a statement 2). After the end of the line, type a space and the # 3). After the #, begin typing your comment
|