| 1 | =head1 NAME
|
|---|
| 2 |
|
|---|
| 3 | perlstyle - Perl style guide
|
|---|
| 4 |
|
|---|
| 5 | =head1 DESCRIPTION
|
|---|
| 6 |
|
|---|
| 7 | Each programmer will, of course, have his or her own preferences in
|
|---|
| 8 | regards to formatting, but there are some general guidelines that will
|
|---|
| 9 | make your programs easier to read, understand, and maintain.
|
|---|
| 10 |
|
|---|
| 11 | The most important thing is to run your programs under the B<-w>
|
|---|
| 12 | flag at all times. You may turn it off explicitly for particular
|
|---|
| 13 | portions of code via the C<no warnings> pragma or the C<$^W> variable
|
|---|
| 14 | if you must. You should also always run under C<use strict> or know the
|
|---|
| 15 | reason why not. The C<use sigtrap> and even C<use diagnostics> pragmas
|
|---|
| 16 | may also prove useful.
|
|---|
| 17 |
|
|---|
|
|---|