[PATCH v2] CodingGuidelines: update the required Perl version
- From
Tuomas Ahola <taahol@utu.fi>
- Date
- Nov 5, 2026, 18:39 UTC
- Message-ID
- <20261105183900.28597-1-taahol@utu.fi>
- In-Reply-To
- <20261101185846.24208-1-taahol@utu.fi>
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