From 953ca72cfe7a9ff2bd6078b266b8e53336a62a62 Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 22 Mar 2015 01:52:10 +0000 Subject: [PATCH] unit-cc: Use the same preamble as other Perl tools. --- make/unit-cc.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/make/unit-cc.pl b/make/unit-cc.pl index 66e9b15dc..3af620944 100755 --- a/make/unit-cc.pl +++ b/make/unit-cc.pl @@ -19,9 +19,14 @@ # +BEGIN { + push @INC, $ENV{SOURCEPATH}; + require 5.10.0; +} + use strict; -use warnings; -BEGIN { push @INC, $ENV{SOURCEPATH}; } +use warnings FATAL => qw(all); + use make::configure; chdir $ENV{BUILDPATH}; -- 2.39.5