[interchange] Fix syntax error on conditional warnings.
Peter Ajamian
interchange-cvs at icdevgroup.org
Sun Jun 25 18:12:26 UTC 2017
commit 8e8e2defa3ea205804c540b5c95bc62047aea3be
Author: Peter Ajamian <peter at pajamian.dhs.org>
Date: Mon Jun 26 06:11:30 2017 +1200
Fix syntax error on conditional warnings.
lib/Vend/Util.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/Vend/Util.pm b/lib/Vend/Util.pm
index 7e92206..20c6d3a 100644
--- a/lib/Vend/Util.pm
+++ b/lib/Vend/Util.pm
@@ -93,7 +93,7 @@ else {
use strict;
no warnings qw(uninitialized numeric);
-no warnings qw(redundant) if $^V ge v5.22.0;
+no if $^V ge v5.22.0, warnings => qw(redundant);
use Config;
use Fcntl;
use Errno;
More information about the interchange-cvs
mailing list