]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
unit-cc: Use the same preamble as other Perl tools.
authorPeter Powell <petpow@saberuk.com>
Sun, 22 Mar 2015 01:52:10 +0000 (01:52 +0000)
committerPeter Powell <petpow@saberuk.com>
Wed, 13 May 2015 14:22:44 +0000 (15:22 +0100)
make/unit-cc.pl

index 66e9b15dcc2356b4c035fc42042f1c5d039198eb..3af6209446a64b8f41dd085e0bdf67936423c8ca 100755 (executable)
 #
 
 
+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};