[interchange] Make new warning suppression version-safe

David Christensen <[email protected]> Fri, 23 Jun 2017 13:02:49 +0000
Newsgroups gmane.comp.web.interchange.cvs
Message-ID <[email protected]>
commit 538b6270a29358282cce5731e43949cbb5f42dc2
Author: David Christensen <[email protected]>
Date:   Fri Jun 23 08:02:13 2017 -0500

    Make new warning suppression version-safe

 lib/Vend/Util.pm |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Util.pm b/lib/Vend/Util.pm
index b133663..7e92206 100644
--- a/lib/Vend/Util.pm
+++ b/lib/Vend/Util.pm
@@ -92,7 +92,8 @@ else {
 );
 
 use strict;
-no warnings qw(uninitialized numeric redundant);
+no warnings qw(uninitialized numeric);
+no warnings qw(redundant) if $^V ge v5.22.0;
 use Config;
 use Fcntl;
 use Errno;