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 Developers should take note of the following:

Awk Traps

Accustomed awk users should take special note of the following:

Traps

Cerebral C developers should take note of the following:

Sed Traps

Seasoned sed developers should take note of the following:

Shell Traps

Sharp shell developers should take note of the following:

Previous Perl Traps

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