From b5cb9a5a36edfe0ad389f985ab8b1a8525d115b0 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Mon, 27 Mar 2023 21:09:55 -0700 Subject: [PATCH] docs: bump the minimum perl version to 5.6 It's actually been this way since at least 2012 (when a 3-argument open was added to runtests.pl). Given the lack of complaints in the interim, it's safe to call this 23 year old perl version the minimum. --- docs/INTERNALS.md | 2 +- tests/runtests.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/INTERNALS.md b/docs/INTERNALS.md index 0cebad1c48..0737044a71 100644 --- a/docs/INTERNALS.md +++ b/docs/INTERNALS.md @@ -43,7 +43,7 @@ versions of libs and build tools. - GNU Autoconf 2.59 - GNU Automake 1.7 - GNU M4 1.4 - - perl 5.004 + - perl 5.6 - roffit 0.5 - nroff any version that supports `-man [in] [out]` - cmake 3.7 diff --git a/tests/runtests.pl b/tests/runtests.pl index 31075523b3..79c7f40890 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -74,6 +74,7 @@ BEGIN { } } +use 5.006; use strict; # Promote all warnings to fatal use warnings FATAL => 'all';