© William "Bo" Rothwell of One Course Source, Inc. 2020
W. ". RothwellPro Perl Programminghttps://doi.org/10.1007/978-1-4842-5605-3_7

7. Pragmas

William “Bo” Rothwell1 
(1)
San Diego, CA, USA
 
The intent behind pragmas is to modify the behavior of your Perl script. Pragmas are invoked with the use statement:
use strict;
To disable the use of a pragma, use the no statement:
no strict;
Note

Some pragmas cannot be turned off.

The purpose of this section is to review some of the useful pragmas. Some pragmas will not be discussed either because they are covered in another class or because they are beyond the scope of this class.

Pragma chart

The following chart lists some of the pragmas available in Perl. Note that different versions of Perl have different pragmas ...

Get Pro Perl Programming: From Professional to Advanced now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.