-
Perl in 21 day ! (Continue)
Don't try to understand this definition yet!
DO/DON'T boxes present the do's and don'ts for a particular task or feature. Here is an
example of such a box:
DON'T confuse the | operator (bitwise OR) with the ||
operator (logical OR).
DO make sure you are using the proper bitwise operator.
It's easy to slip and assume you want bitwise OR when
you really want bitwise AND. (Trust me.
Notes are explanations of interesting properties of a particular program feature. Here is
an example of a note:
NOTE
In left-justified output, the value being displayed
appears at the left end of the value field. In right-justified
output, the value being displayed appears at the
right end of the value field.
Warnings warn you of programming pitfalls to avoid. Here is a typical warning:
You cannot use the last statement inside the do
statement. The do statement, although it behaves like
the other control structures, is actually implemented
differently.
Tips are hints on how to write your Perl programs better. Here is an example of a tip:
TIP
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks