[pve-devel] [PATCH common] support for perl < 5.18

Igor Vlasenko ivlasenko at gmail.com
Mon May 9 15:13:26 CEST 2016


Signed-off-by: Igor Vlasenko <viy at altlinux.org>
---
 test/etc_network_interfaces/t.list-interfaces.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/etc_network_interfaces/t.list-interfaces.pl
b/test/etc_network_interfaces/t.list-interfaces.pl
index caffe88..99ddfa4 100644
--- a/test/etc_network_interfaces/t.list-interfaces.pl
+++ b/test/etc_network_interfaces/t.list-interfaces.pl
@@ -1,4 +1,4 @@
-no warnings 'experimental::smartmatch';
+no if $] >= 5.017011, warnings => 'experimental::smartmatch';

 # Assuming eth0..3 and eth100
 # eth0 is part of vmbr0, eth100 is part of the OVS bridge vmbr1
-- 
2.6.5



More information about the pve-devel mailing list