From: Peter Powell Date: Sun, 22 Mar 2015 01:52:10 +0000 (+0000) Subject: unit-cc: Use the same preamble as other Perl tools. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=953ca72cfe7a9ff2bd6078b266b8e53336a62a62;p=user%2Fhenk%2Fcode%2Finspircd.git unit-cc: Use the same preamble as other Perl tools. --- 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};