Perl: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
Only remove one or more of the above if you '''really''' know what you are doing. | Only remove one or more of the above if you '''really''' know what you are doing. | ||
It is also a good idea to define a minimum Perl version, e.g. to require Perl 5.14 or above: | |||
use v5.14; |
Revision as of 10:50, 21 August 2019
Robust scripts
All scripts should start with the following:
use strict; use warnings; use utf8; use autodie;
Only remove one or more of the above if you really know what you are doing.
It is also a good idea to define a minimum Perl version, e.g. to require Perl 5.14 or above:
use v5.14;