From: Mischa POSLAWSKY Date: Wed, 29 Mar 2017 09:58:02 +0000 (+0200) Subject: tools: require perl v5.14 in all scripts X-Git-Tag: v1.10~288 X-Git-Url: http://git.shiar.nl/sheet.git/commitdiff_plain/c98bda172fec13970df56f9bec501b420c3b51f5 tools: require perl v5.14 in all scripts Sufficiently ubiquitous to globally enable more recent features. --- diff --git a/tools/mkcaniuse b/tools/mkcaniuse index de3d789..53cd904 100755 --- a/tools/mkcaniuse +++ b/tools/mkcaniuse @@ -1,6 +1,5 @@ #!/usr/bin/env perl -use 5.010; -use strict; +use 5.014; use warnings; use Data::Dump 'pp'; diff --git a/tools/mkcharinfo b/tools/mkcharinfo index 6f58eff..df5b595 100755 --- a/tools/mkcharinfo +++ b/tools/mkcharinfo @@ -1,6 +1,5 @@ #!/usr/bin/env perl -use 5.010; -use strict; +use 5.014; use warnings; use utf8; no if $] >= 5.018, warnings => 'experimental::smartmatch'; diff --git a/tools/mkcharver b/tools/mkcharver index f8fc3e8..435744d 100755 --- a/tools/mkcharver +++ b/tools/mkcharver @@ -1,5 +1,5 @@ #!/usr/bin/env perl -use 5.012; +use 5.014; use warnings; use utf8; diff --git a/tools/mkcountries-geonames b/tools/mkcountries-geonames index ddc963c..209653e 100755 --- a/tools/mkcountries-geonames +++ b/tools/mkcountries-geonames @@ -1,5 +1,5 @@ #!/usr/bin/env perl -use 5.012; +use 5.014; use warnings; my %cc; # map of country code to info array diff --git a/tools/mkcountries-wikipedia b/tools/mkcountries-wikipedia index 67916dc..6b99c0b 100755 --- a/tools/mkcountries-wikipedia +++ b/tools/mkcountries-wikipedia @@ -1,5 +1,5 @@ #!/usr/bin/env perl -use 5.012; +use 5.014; use warnings; my %cc; # map of country code to info array diff --git a/tools/mkdigraphs-rfc b/tools/mkdigraphs-rfc index 3e280a9..989c926 100755 --- a/tools/mkdigraphs-rfc +++ b/tools/mkdigraphs-rfc @@ -1,6 +1,5 @@ #!/usr/bin/env perl -use 5.010; -use strict; +use 5.014; use warnings; use utf8; use open OUT => ':utf8', ':std'; diff --git a/tools/mkdigraphs-shiar b/tools/mkdigraphs-shiar index b1c0d5a..55134b4 100755 --- a/tools/mkdigraphs-shiar +++ b/tools/mkdigraphs-shiar @@ -1,6 +1,5 @@ #!/usr/bin/env perl -use 5.010; -use strict; +use 5.014; use warnings; use open IN => ':utf8', ':std'; diff --git a/tools/mkfontinfo b/tools/mkfontinfo index cdd508d..a1cc44d 100755 --- a/tools/mkfontinfo +++ b/tools/mkfontinfo @@ -1,6 +1,5 @@ #!/usr/bin/env perl -use 5.010; -use strict; +use 5.014; use warnings; use utf8; diff --git a/tools/mktermcol-xcolor b/tools/mktermcol-xcolor index 596bb56..4dba0bc 100755 --- a/tools/mktermcol-xcolor +++ b/tools/mktermcol-xcolor @@ -1,5 +1,5 @@ #!/usr/bin/env perl -use 5.010; +use 5.014; use Shiar_Sheet::Colour 1.05; diff --git a/tools/mkttfinfo b/tools/mkttfinfo index 2523b8f..8cfe446 100755 --- a/tools/mkttfinfo +++ b/tools/mkttfinfo @@ -1,6 +1,5 @@ #!/usr/bin/env perl use 5.014; -use strict; use warnings; use Data::Dump 'pp'; diff --git a/tools/mkusage-statcounter b/tools/mkusage-statcounter index 2465d1a..173fbe6 100755 --- a/tools/mkusage-statcounter +++ b/tools/mkusage-statcounter @@ -1,6 +1,5 @@ #!/usr/bin/env perl -use 5.010; -use strict; +use 5.014; use warnings; use Data::Dump 'pp'; diff --git a/tools/mkusage-wikimedia b/tools/mkusage-wikimedia index 63cded2..7f9a3a5 100755 --- a/tools/mkusage-wikimedia +++ b/tools/mkusage-wikimedia @@ -1,5 +1,5 @@ #!/usr/bin/perl -n -use 5.012; +use 5.014; use warnings; our %count; our $mobile;