summaryrefslogtreecommitdiff
path: root/tools/directive
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-01-25 12:13:54 +0000
committerSadie Powell <sadie@witchery.services>2021-01-25 12:39:56 +0000
commitf6b861f12d070ba931d829505bfd3229653f5df2 (patch)
treeb043d1e05d9703ab0ec29be91055d793f0fd93d0 /tools/directive
parentcc28ba0f2164ea68db1bc373ee06fc58f82c3314 (diff)
Fix unnecessary begin blocks in Perl source files.
Diffstat (limited to 'tools/directive')
-rwxr-xr-xtools/directive10
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/directive b/tools/directive
index 95fe847ac..07d4b09e2 100755
--- a/tools/directive
+++ b/tools/directive
@@ -18,15 +18,7 @@
#
-BEGIN {
- require 5.10.0;
- unless (-f 'configure') {
- print "Error: $0 must be run from the main source directory!\n";
- exit 1;
- }
-}
-
-use feature ':5.10';
+use v5.10.0;
use strict;
use warnings FATAL => qw(all);