I noticed that the INTERNALS document claimed that tools were maintained to be compatible wirh perl version 4.

Intrepidly I downloaded the tarball for perl 4.0.36 (from 1993) and, with a couple of tweaks, was able to build it. (The Configure script listed many now-obscure operating systems, but no GNU/Linux - presumably still in nappies at that stage.) Sure enough, perl4 barfs on modernisms such as "my" and "BEGIN" in chksource.pl and runtests.pl.

I can't imagine any development platform is really still using perl4 these days, so I suggest conservatively moving the requirement forward to version 5.004 (from 1997).

--
Colin
>From 24981690010afcc9cb201a0dc9b5e9099980c46e Mon Sep 17 00:00:00 2001
From: Colin Hogben <[email protected]>
Date: Fri, 23 Dec 2011 10:56:48 +0000
Subject: [PATCH] Require a less ancient version of perl

The INTERNALS document suggested that compatibility should be
maintained with perl version 4, but this was untrue - scripts such as
chksource.pl and runtests.pl use perl5-isms.
---
 docs/INTERNALS |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/INTERNALS b/docs/INTERNALS
index c730867..f965ec5 100644
--- a/docs/INTERNALS
+++ b/docs/INTERNALS
@@ -68,7 +68,7 @@ Portability
  GNU Autoconf 2.57
  GNU Automake 1.7 (we currently avoid 1.10 due to Solaris-related bugs)
  GNU M4       1.4
- perl         4
+ perl         5.004
  roffit       0.5
  groff        ? (any version that supports "groff -Tps -man [in] [out]")
  ps2pdf (gs)  ?
-- 
1.6.5.6

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to