]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
docs: bump the minimum perl version to 5.6
authorDan Fandrich <dan@coneharvesters.com>
Tue, 28 Mar 2023 04:09:55 +0000 (21:09 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Thu, 30 Mar 2023 16:12:52 +0000 (09:12 -0700)
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
tests/runtests.pl

index 0cebad1c48b8ba7d2925e7aec1d67d0ded4a2f6b..0737044a7148bbd7ae81ec2003801225fa63ea10 100644 (file)
@@ -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
index 31075523b3cbbb1088449c0bc9ad8a3ccae74da7..79c7f40890651349e27931d9f636727dd3baf31c 100755 (executable)
@@ -74,6 +74,7 @@ BEGIN {
     }
 }
 
+use 5.006;
 use strict;
 # Promote all warnings to fatal
 use warnings FATAL => 'all';