diff options
author | Nicholas Clark <nick@ccl4.org> | 2021-09-29 08:24:58 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2021-09-29 08:24:58 +0000 |
commit | 681a22f48ffc404dcc78c3f47b840fac94810241 (patch) | |
tree | 83d2f9b7b14be7d2eeb11ad1c3c6a3339aaace76 /makedef.pl | |
parent | 8f194132568163e2753e1878f7c8a0aa8a5f25a3 (diff) | |
download | perl-681a22f48ffc404dcc78c3f47b840fac94810241.tar.gz |
Move `use strict;` *out* of the BEGIN block in makedef.pl
`use strict;` was moved into the BEGIN block in 2015 as part of commit
196f7c461ba85005:
export data symbols as data on Win32
This mistake wasn't spotted at the time, and meant that only the code within
the BEGIN block was subject to strictures.
Diffstat (limited to 'makedef.pl')
-rw-r--r-- | makedef.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/makedef.pl b/makedef.pl index 006b162e08..caf3be139f 100644 --- a/makedef.pl +++ b/makedef.pl @@ -32,14 +32,14 @@ # perl.imp NetWare # makedef.lis VMS +use strict; +use Config; + my $fold; my %ARGS; my %define; BEGIN { - use Config; - use strict; - %ARGS = (CCTYPE => 'MSVC', TARG_DIR => ''); sub process_cc_flags { |