Article View: linux.kernel.git
Article #2445[PATCH v2] CodingGuidelines: update the required Perl version
From: Tuomas Ahola
Date: Thu, 05 Nov 2026 18:39
Date: Thu, 05 Nov 2026 18:39
52 lines
11565 bytes
11565 bytes
702d8c1f3b (Require Perl 5.26.0, 2024-10-23) bumped Git's Perl version
requirement and migrated the codebase to use "require vx.y.z" in lieu
of "use x.y_z". Update CodingGuidelines accordingly.
Helped-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Tuomas Ahola <taahol@utu.fi>
---
Intervall-diff mot v1:
1: d18ca7697d ! 1: 70e2656643 CodingGuidelines: update the required Perl version
@@ Commit message
CodingGuidelines: update the required Perl version
702d8c1f3b (Require Perl 5.26.0, 2024-10-23) bumped Git's Perl version
- requirement. Update CodingGuidelines accordingly.
+ requirement and migrated the codebase to use "require vx.y.z" in lieu
+ of "use x.y_z". Update CodingGuidelines accordingly.
+ Helped-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Tuomas Ahola <taahol@utu.fi>
## Documentation/CodingGuidelines ##
@@ Documentation/CodingGuidelines: 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").
++ - We try to support Perl 5.26.0 and later ("require v5.26").
- use strict and use warnings are strongly preferred.
Documentation/CodingGuidelines | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/CodingGuidelines b/Documentation/CodingGuidelines
index c06f5d3071..bc0470c154 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 ("require v5.26").
- use strict and use warnings are strongly preferred.
base-commit: a018953688f1b10bddf91bff8747068f5f4746a4
--
ta/cg-require-perl-5.26.0
Technical Details
Message-ID:
<20261105183900.28597-1-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-74585-linux-kernel-git=dewy.ruReferences:
<20261101185846.24208-1-taahol@utu.fi>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-74585-linux-kernel-git=dewy.ru From: taahol@utu.fi (Tuomas Ahola) Newsgroups: linux.kernel.git Subject: [PATCH v2] CodingGuidelines: update the required Perl version Date: Thu, 5 Nov 2026 20:39:00 +0200 Organization: Usenet Network Message-ID: <20261105183900.28597-1-taahol@utu.fi> References: <20261101185846.24208-1-taahol@utu.fi> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="3703134"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:PN2gmd+qzfDQCFXQ4z5jU/33rcs= sha256:sSTX4ptaLnqdAvUVSeQqiqMQWA5tLjOtiwtGLCshaiU= sha1:FOizcIxTjt4aY7D+pU1AzuwULio= sha256:UlJkEOEbobmgakhoI68IcrbDPxadyUZrNMktgG0ODW8= 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 9151511305F; Thu, 5 Nov 2026 21:41:43 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.049 X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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, URIBL_BLOCKED=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 ybPvWRQ1Fb5k; Thu, 5 Nov 2026 21:41:38 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=git+bounces-74585-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id 5036311304C; Thu, 5 Nov 2026 21:41:29 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 1AFF628D09; Thu, 5 Nov 2026 18:39:36 +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=1793903975; b=gY5fW2l5JGyCmI+m7NwaFUNxcyNOAHfoFM9j4DqT/7XQ57hwwZzpo7s6X8/PTXOo1BXE 37l8Gea8mFSm2UfKXgyW5Bt0G/b+2RY/Yapu/vRZm+r0wzmm+ezVMZ503MbVFvuYZecIs 1jshP3kfzZe25UtbVZW8qVzrUl8My7dMuXgAi6rmZ5QgybVuufg5a4Kqj0S6Y9xwlaq8Q cFvqE/kWwzRd9+X2uaEm7s+6KYrwpyfzIeJ0bBIWWOmzkbt5+vNqf9PvikD02AGfXhQI+ sjMTYhIt9qlgOcvBhPWGmtrEh46zeAdeMsydqO6fzwRZRoCb03VSKQT0gcS0ZpbpYuA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793903975; h=X-Original-To:Received:DMARC-Filter:Received:Received:Received: Received:From:To:CC:Subject:Date:Message-ID:X-Mailer:In-Reply-To: References:X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version: Content-Transfer-Encoding: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=E9zMZRphkpAL10VRfrni4apyLjglYhXD1MK31rwQo+U=; b=ImMd1lhDTiQ6cVcpn+2VDa/IDcRX+Ky0yO27DduulIaJlT9EzUeIw2siwWkhOZf05SK4 VDJnEa3z0oTTk7p55QQr3zSsVAPTwYRE8YiskGkR6Dq6fR3sqCz82J7bYG7Yw7ud8gkJI XriuCjwcwqE77wJ2TbfXbBAcXpB4/29XHrVhtSZpN0wQGwyXcQYwZS0MwLio8hBcSAooO cwT+MuA2Wn8t8K2bRLmp3i8q+5WoP0IiMSNx5n5QdhZ7hVgNxHRQ/5dSqzCNPXso7aRDa +OlMlW13Y6pR3HtE4QMu33qt+XU7NEJa/1ybQajq9fu3OSZ/d0oMjvD/2jQBPIzz3hw== 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=lw0+AXTn; 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 9E340606A33F; Thu, 5 Nov 2026 18:39:35 +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=lw0+AXTn 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=1793903969; b=zU5nuYhCU8Qx2g8lLLhjeI5Kh2MAkn4tuxV5ZlJItd5nPzsbEbvPLFNO6cHGlselF41G grPaXf98Dsh2zyRehCsCzF5A7nw2fvP3HVehqLaEEvb9FvIjJk+AS4J+FqzheliiJN8di tvBbERjvBDDMoiF9L2UdvAFcniyKjwBhZ7HrQfGabaso7VLUw5resjjqPzs2rDdUkdXtC KAfgG2Q9dERp38ZW0ngKaqH64ZjZtAzYEPXzzp3KgSiSa81FYcDb1jI5Cc/93HtiyQ8KH zgQjzhBeJ1nnaKLQnQEJEO3yjsPWW1jid/+JSKQwi0u6Q2JOeEb61mqXV5nyYahAP5Q== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793903969; h=DMARC-Filter:Received:Received:Received:Received:From:To:CC:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding: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=E9zMZRphkpAL10VRfrni4apyLjglYhXD1MK31rwQo+U=; b=AWizV4GT2+nRRltXvtilvFfFUeQxG/5naGq8yuhAkmmXP0gcJtI8yqfQzi7Y06i9YL/o hmclQfH5ZHDs+ZyKtPuryRVAFiDemUM/3KBpXlTUG++suh4OHgx6n7eRZVYQWB7cf0ysW BwgSn7z09BEMiLqtbkOzCRJwobnEKQkrlmltlSleP4Bl718f2uNZ1KW0/eVBpjRjjveQA u8o8etiaaTJjRXAJ2p7MmxQeDO6TqApYlfUFjAWhSNAIz62uU4WP6mR4GGH36/zjyAMYz 3bu3mhkVtnU4E5gXhxvH8LFXOyryvIVHU1C1rX0fkPOfnKzZNYD4l1yNi61T9+AT22A== 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=lw0+AXTn; 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 444E2606A326 for <git@vger.kernel.org>; Thu, 5 Nov 2026 18:39:27 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 444E2606A326 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 6A5IdHFv031889-6A5IdHFx031889 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 5 Nov 2026 20:39:17 +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 1xP2Mn-005F9m-C8; Thu, 05 Nov 2026 20:39:17 +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; Thu, 5 Nov 2026 20:39:17 +0200 X-Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id bca31b6d; Thu, 5 Nov 2026 18:39:16 +0000 (UTC) X-CC: Junio C Hamano <gitster@pobox.com>, Tuomas Ahola <taahol@utu.fi>, "brian m . carlson" <sandals@crustytoothpaste.net> X-Mailer: git-send-email 2.30.2 X-In-Reply-To: <20261101185846.24208-1-taahol@utu.fi> 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: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWkhZXkguLT4lWFxYWFhYWFBeUVxfSFhISFlbSBwJCQAHBCgdHB1GDgFIWUhaUEgbCQYMCQQbKAsaHRscERwH BxwAGAkbHA1GBg0cSFhIWkhZXEhZW1hGWltaRlpYX0ZbWEhQSFhIWEhbSFhIWEhYSFlRSA8BHCgeDw0aRgMNGgYNBEYHGg9IWEhZX0gPARwbHA0aKBgHCgcQRgsHBUhY SFpQSBsJBgwJBBsoCxodGxwRHAcHHAAYCRscDUYGDRxIWA== 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=from:to:cc:subject:date:message-id:references:mime-version:content-type; bh=E9zMZRphkpAL10VRfrni4apyLjglYhXD1MK31rwQo+U=; b=lw0+AXTn/LkItpFRiINqvodurj6GyT2bEUxnaAs6ZZMGDSB40uR5h2HlldgV7ZUOl/7bh/36Fo2L UURfgqYOh93STDMTeCvffcIcUMy3FP/GjNXlB8YeNCWkLvz3+W8NJBUke8Oe12M10aB4/yKt++g/ y7TIi68mqTr8RfAExK7UgeHMM0quQzJpi3P4aWVpL4GeHYMTJOk6+vsKE7WxeJzxFO2U5vnoXvld TtIg7L1CnblRAffqUlQbuYtNAKJQuPJfuKXcrNGXpEVZsyK6ifM9FqAaxY3XE5oeHKknQtb3gfdR cz24iQMOSPhktqfCaHT2cwzASC8gdjsf5vByuw==