svn commit: r1921978 - /subversion/trunk/tools/dist/backport.pl

[email protected]
Newsgroups gmane.comp.version-control.subversion.svn
Message-ID <[email protected]>
Author: dsahlberg
Date: Wed Nov 20 17:48:29 2024
New Revision: 1921978

URL: http://svn.apache.org/viewvc?rev=1921978&view=rev
Log:
Continue chasing experimental status of when/given. It still works in Perl 5.38,
but will be removed in Perl 5.42.

* tools/dist/backport.pl
  (): Remove deprecation warning for when/given up until Perl 5.38

Modified:
    subversion/trunk/tools/dist/backport.pl

Modified: subversion/trunk/tools/dist/backport.pl
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/backport.pl?rev=1921978&r1=1921977&r2=1921978&view=diff
==============================================================================
--- subversion/trunk/tools/dist/backport.pl (original)
+++ subversion/trunk/tools/dist/backport.pl Wed Nov 20 17:48:29 2024
@@ -13,7 +13,7 @@ use v5.10.0; # needed for $^V
 # compatible with those expected by the script, so disable the warning for
 # those Perls.  But don't try to disable the the warning category on Perls
 # that don't know that category, since that breaks compilation.
-no if (v5.17.0 le $^V and $^V le v5.34.0),
+no if (v5.17.0 le $^V and $^V le v5.38.0),
    warnings => 'experimental::smartmatch';
 
 # Licensed to the Apache Software Foundation (ASF) under one
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.