svn commit: r290056 - svnadmin/hooks/scripts
Peter Wemm
peter at FreeBSD.org
Tue Oct 27 20:38:52 UTC 2015
Author: peter
Date: Tue Oct 27 20:38:50 2015
New Revision: 290056
URL: https://svnweb.freebsd.org/changeset/base/290056
Log:
Suppress warnings about use of given/when.
Modified:
svnadmin/hooks/scripts/detect-mergeinfo-bloat.pl
Modified: svnadmin/hooks/scripts/detect-mergeinfo-bloat.pl
==============================================================================
--- svnadmin/hooks/scripts/detect-mergeinfo-bloat.pl Tue Oct 27 20:34:30 2015 (r290055)
+++ svnadmin/hooks/scripts/detect-mergeinfo-bloat.pl Tue Oct 27 20:38:50 2015 (r290056)
@@ -33,6 +33,9 @@
require warnings;
import warnings;
+use v5.10; # earliest occurance of feature
+no warnings 'experimental::smartmatch';
+
use strict;
use Carp;
use feature qw(switch); # be 5.10 or later, or else!
More information about the svn-src-svnadmin
mailing list