You are viewing the version of this documentation from Perl 5.41.2. This is a development version of Perl.

CONTENTS

NAME

perltrap - Perl traps for the unwary

DESCRIPTION

The biggest trap of all is forgetting to use warnings or use the -w switch; see warnings and "-w" in perlrun. The second biggest trap is not making your entire program runnable under use strict. The third biggest trap is not reading the list of changes in this version of Perl; see perldelta.

Awk Traps

Accustomed awk users should take special note of the following:

C/C++ Traps

Cerebral C and C++ programmers should take note of the following:

JavaScript Traps

Judicious JavaScript 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:

Perl Traps

Practicing Perl Programmers should take note of the following:

As always, if any of these are ever officially declared as bugs, they'll be fixed and removed.