From 754ddc0faff70513c78277dd2d81c44849b31619 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Thu, 5 Sep 2019 22:09:14 +0200 Subject: [PATCH] enable lexical subs before perl v5.26 Introduced in perl v5.18 and experimental until recently. --- graph | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/graph b/graph index c4ebd20..307c9e4 100755 --- a/graph +++ b/graph @@ -1,9 +1,10 @@ #!/usr/bin/env perl -use 5.014; +use 5.018; use warnings; use utf8; use List::Util qw( min max sum ); use open qw( :std :utf8 ); +use experimental qw( lexical_subs ); our $VERSION = '1.02'; -- 2.30.0