Article View: linux.kernel.git
Article #2362Re: [PATCH] CodingGuidelines: update the required Perl version
From: Tuomas Ahola
Date: Wed, 04 Nov 2026 19:34
Date: Wed, 04 Nov 2026 19:34
45 lines
10720 bytes
10720 bytes
Junio C Hamano <gitster@pobox.com> wrote:
> Tuomas Ahola <taahol@utu.fi> writes:
>
> > 702d8c1f3b (Require Perl 5.26.0, 2024-10-23) bumped Git's Perl version
> > requirement. Update CodingGuidelines accordingly.
> >
> > Signed-off-by: Tuomas Ahola <taahol@utu.fi>
> > ---
> > Documentation/CodingGuidelines | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
> > index c06f5d3071..9b17ab34db 100644
> > --- a/Documentation/CodingGuidelines
> > +++ b/Documentation/CodingGuidelines
> > @@ -703,7 +703,7 @@ For Perl programs:
> >
> > - Most of the C guidelines above apply.
> >
> > - - We try to support Perl 5.8.1 and later ("use Perl 5.008001").
> > + - We try to support Perl 5.26.0 and later ("use Perl 5.026000").
>
> Is this in line with what 702d8c1f3b did? Shouldn't we say
>
> > + - We try to support Perl 5.26.0 and later ("require v5.26").
>
> "require v5.26" instead?
>
Frankly, I don't make head nor tail of such Perl minutiae. I would find that
parenthetical much more useful if it told exactly when we are supposed to use
such incantations.
For example:
- All new code should carry the line "require v5.26".
or
- Please consider adding "require v5.26" whenever appropriate.
I'm not really sure how to proceed with this. One option is of course to adopt
your suggestion and call it a day.
Technical Details
Message-ID:
<20261104193450.XvTBf%taahol@utu.fi>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74481-linux-kernel-git=dewy.ruReferences:
<20261101185846.24208-1-taahol@utu.fi> <xmqqjymvooyn.fsf@gitster.g>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!git+bounces-74481-linux-kernel-git=dewy.ru From: taahol@utu.fi (Tuomas Ahola) Newsgroups: linux.kernel.git Subject: Re: [PATCH] CodingGuidelines: update the required Perl version Date: Wed, 4 Nov 2026 21:34:50 +0200 Organization: Usenet Network Message-ID: <20261104193450.XvTBf%taahol@utu.fi> References: <20261101185846.24208-1-taahol@utu.fi> <xmqqjymvooyn.fsf@gitster.g> MIME-Version: 1.0 Content-Type: text/plain Injection-Info: usenet.network; logging-data="3475412"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:SgzRgTNVfmnSjat0/v+QR5CzPBw= sha256:aUL2sJyN/JRj6rND9GtV3TXFsPx10kn0mahrNokHCqE= sha1:dwydxJrUvuBQwioP7/KG26eO5ow= sha256:DqlJ8Rkpqd8JFINqecm/xX49vML7um65tqjIipGE0AM= List-ID: <git.vger.kernel.org> X-Mailpost-Empty-Hdrs: X-Spam-Level X-Received: from localhost (localhost [127.0.0.1]) by mail.dewy.ru (Postfix) with ESMTP id 2382A112D2F; Wed, 4 Nov 2026 23:11:13 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.15 X-Spam-Status: No, score=-3.15 tagged_above=-9999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham autolearn_force=no X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key) header.d=utu.fi X-Received: from mail.dewy.ru ([127.0.0.1]) by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cHZ6nPpKUrql; Wed, 4 Nov 2026 23:11:10 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=git+bounces-74481-linux-kernel-git=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=utu.fi X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74]) by mail.dewy.ru (Postfix) with ESMTPS id 23225112D01; Wed, 4 Nov 2026 23:11:01 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sto.lore.kernel.org (Postfix) with ESMTP id 1093B60D5F6; Wed, 4 Nov 2026 20:03:13 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1 X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail; t=1793820910; b=ud+MY4VT8rtcPWjRhvcQ9PgnusiSwCQT2YpGSoJZzLxZC/D1cbEQomlXd6/2AwFe8UoV CzwbkGFmXTIKBMkqVV0FXkWnvkhcJ6PU1ShWeoAScbPnVWRVmJf8vabRCrTSVnG7YrxCb kLeWtRSApODZ2x4gokCK/pA8dguj2o3CVlrxAT0OJjlE2hBLQm4sHADeBubeq4octdSs4 tOVX0QMNIt+0hyOpgcMscEEBQ5cgMUqUqGMD8yLjGrWZtgpVcrcMJelYoFj1ztwG2WhFQ Ao/SVg6TIaf5qmuKN3cdUdoQBmtxY7z6MKQdrVpdKQKDGyaAASwZdVjEZ0HoL1ikwag== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793820910; h=X-Original-To:Received:DMARC-Filter:Received:Received:Received: Received:Date:From:To:CC:Subject:Message-ID:In-Reply-To:References: User-Agent:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Content-Type: X-ClientProxiedBy:X-FEAS-BEC-Info:X-FEAS-Client-IP: X-FE-Last-Public-Client-IP:X-FE-Policy-ID:X-FE-Hostname: DKIM-Signature; bh=ILbhOYGm5klvPLWc+WVJ8aYiznjqYDoB/MOlSoE5d1E=; b=qycWP/Y8lacVjzg722Wzvuq+e54qfXtCLiO1aPuiukaQGE+q9kTzD449XpaNrDvkf1sn aBQGFP3CJZVo6Jgc+LtQbDna3Ecj9RctzOWicENTa0xtlVs3kMX8r6saI5WDnwpdLlE/u l1keJRQa1jFOCCa0DCYrOhR8OtCOQoP1NU6U3tQchRRYwXh9l/Y4a0yNofVoo6MPWnO2x aBFmDjB7aKIu7Oq79yy4FgOkNkGprg75dz19D1nRMJ2r/v2uqM0Y7TlFfVixofCIdI33u 20Lg6uTdcCiXgg8XVZf5Aq3IscpnTiALU2710DKmwMmtqJ53yT4SUtYYcEEzmvEw2lg== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b="hA//CW5Q"; dmarc=pass header.from=utu.fi; spf=pass smtp.mailfrom=utu.fi; arc=fail smtp.remote-ip=127.0.0.1 X-Received: from localhost.localdomain (localhost [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E15C606E813; Wed, 4 Nov 2026 19:35:10 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b=hA//CW5Q X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=130.232.247.4 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793820899; b=YFvDwMGRPdvxXZP4tc05O/rNML4d5WbqYW8uZ/xfXDNMgQmSkJGxf74DCAYBW9TYCREM xlwQ4Q3IneL+/gHk9YLZ/IUC8uwH2TISueTz7IXm070Z85/2oZ4usbCmvXYDQTJgherU+ LelNxJEtmjA3hJzSejInle6/DvB5cm99kauhpX2zfr3BG8M31yYQEyV+xCS0UTNCN9Rgr nHwkmDU9NSVTiLcphprjAEI3mC9TmyewYyCowcxxNSd2cb8Vc8YR/3KfFWdcDvCwWREeC qe5yJ12uNBNESHqdoSjjo1TlUi5jprErJvpRrGtoNt7pHldehHH9bw2wvTTQwFGudbA== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793820899; h=DMARC-Filter:Received:Received:Received:Received:Date:From:To:CC: Subject:Message-ID:In-Reply-To:References:User-Agent:MIME-Version: Content-Type:X-Originating-IP:X-ClientProxiedBy:X-FEAS-BEC-Info: X-FEAS-Client-IP:X-FE-Last-Public-Client-IP:X-FE-Policy-ID: X-FE-Hostname:DKIM-Signature; bh=ILbhOYGm5klvPLWc+WVJ8aYiznjqYDoB/MOlSoE5d1E=; b=H1OkjqEWbsm2AwUy6nvJwMWpovgmExxx9MeczKImQ4zuBrdlGiC4jHXNM9WaCpPHW881 /ZzyZfZ/8peuNcnDMp1lkLrKmZiH0h9C7Fk12hc3thrf8dtd5boRz7Z5ZBBVAZMws6F3c S/gQucGmelepB6+YUoFXf0trd+yVCRLlaLuhyDcByO8AUWiJ73/bGG4mn2IuUaxwW30sh jHM57WLRkyqh2Z3B1uo2RvyAi4+Bi72yB+qsSUA5KuH3fsE/W7m1eVq48rLE3Ko6xJuNa QZoznZ5dGhxSD/mgRgSL2Kvx+QgdKA2vwin4Aj/ynIUmv/LRPO9n64yhSa6FBY9sZmw== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=utu.fi; spf=pass smtp.mailfrom=utu.fi; dkim=pass header.d=utu.fi header.i=@utu.fi header.a=rsa-sha256 header.s=out-utu-v3 header.b="hA//CW5Q"; arc=none smtp.remote-ip=130.232.247.4 X-Received: from fortymile.utu.fi (fortymile.utu.fi [130.232.247.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 342B5606E835 for <git@vger.kernel.org>; Wed, 4 Nov 2026 19:34:55 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 342B5606E835 X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=utu.fi X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=utu.fi X-Received: from smtp-03.utu.fi (smtp-03.utu.fi [130.232.207.30]) by fortymile.utu.fi with ESMTPS id 6A4JYpJd029420-6A4JYpJf029420 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 4 Nov 2026 21:34:51 +0200 X-Received: from ex19-06.utu.fi ([130.232.247.46]) by smtp-03.utu.fi with esmtps (TLS1.2) tls TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <taahol@utu.fi>) id 1xOgl1-003l47-13; Wed, 04 Nov 2026 21:34:51 +0200 X-Received: from localhost (86.50.95.90) by ex19-06.utu.fi (130.232.247.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 4 Nov 2026 21:34:50 +0200 X-Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id e69605da; Wed, 4 Nov 2026 19:34:50 +0000 (UTC) X-CC: <git@vger.kernel.org> X-In-Reply-To: <xmqqjymvooyn.fsf@gitster.g> X-User-Agent: s-nail v14.9.22 X-Mailing-List: git@vger.kernel.org X-List-Post: <mailto:git@vger.kernel.org> X-List-Help: <mailto:git+help@vger.kernel.org> X-List-Subscribe: <mailto:git+subscribe@vger.kernel.org> X-List-Unsubscribe: <mailto:git+unsubscribe@vger.kernel.org> X-List-Owner: <mailto:git+owner@vger.kernel.org> X-Precedence: list X-ClientProxiedBy: ex19-14.utu.fi (130.232.247.54) To ex19-06.utu.fi (130.232.247.46) X-FEAS-BEC-Info: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWkhZXkguLT4lWFxYWFhYWFBeUVxfSFhISFlbSBwJCQAHBCgdHB1GDgFIWUhZUUgPARwoHg8NGkYDDRoGDQRG BxoPSFhIWkhZXEhZW1hGWltaRlpYX0ZbWEhQSFhIWEhaSFhIWEhYSFlRSA8BHCgeDw0aRgMNGgYNBEYHGg9IWEhZX0gPARwbHA0aKBgHCgcQRgsHBUhY X-FEAS-Client-IP: 130.232.207.30 X-FE-Last-Public-Client-IP: 130.232.207.30 X-FE-Policy-ID: 3:5:2:SYSTEM X-FE-Hostname: fortymile.utu.fi X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; d=utu.fi; s=out-utu-v3; c=relaxed/relaxed; h=date:from:to:cc:subject:message-id:references:mime-version:content-type; bh=ILbhOYGm5klvPLWc+WVJ8aYiznjqYDoB/MOlSoE5d1E=; b=hA//CW5QaNoH2uk3lM0QljAe53VVcl5MUh3nvHx7O78YJIBE8Z+cAz6GN8bdniq5dDa+gqxr4c61 9fFvf18IfCOJsbSXkUY/AnS9xuDnpP8QFi8DwsEuXH0vlQLjpHzYXoFosjCx4BlJNgMOelZANSgO QbnZXQcC1UN3QTZAGglo8wB9bYZ/LAKfG5m+kp5MQRRVdzyHKo+cuCVwKdw7BtU58+OwZaKy2oEs 52T4ilp9Tf9nROU0gZEti3Pl5LVYQiFQ8bgwcZ0GUQYYGxnFPMfp9SJjMIUM7Wz/igZyo7oCLXFX 2+k/iIrPRGuJpf7O1O+Nk29kt0apEMw8GvRLfA==