Полезная информация

Programming Perl, Second Edition

Previous Chapter 8
Other Oddments
Next
 

8.2 Common Goofs for Novices

The biggest goof of all is forgetting to use the -w switch, which points out many errors. The second biggest goof is not using use strict when it's appropriate.

Apart from those, there are certain traps that almost everyone falls into, and other traps you'll fall into only if you come from a particular culture. We've separated these out in the following sections.

Universal Blunders

Frequently Ignored Advice

Practicing Perl Programmers should take note of the following:

Awk Traps

Accustomed awk users should take special note of the following:

C Traps

Cerebral C programmers should take note of the following:

Sed Traps

Seasoned sed programmers should take note of the following:

Shell Traps

Sharp shell programmers should take note of the following:

Previous Perl Traps

Penitent Perl 4 (and Prior) Programmers should take note of the following changes between Release 4 and Release 5 that might affect old scripts:


Previous Home Next
The Perl Debugger Book Index Efficiency

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell