From 3e29952f6dc090ca00142af925593bbd2579214f Mon Sep 17 00:00:00 2001 From: garnier-quentin Date: Tue, 29 Sep 2020 11:16:51 +0200 Subject: [PATCH] remove warn message --- network/cisco/vcs/restapi/custom/xmlapi.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/network/cisco/vcs/restapi/custom/xmlapi.pm b/network/cisco/vcs/restapi/custom/xmlapi.pm index 32b1fcf27..f3eb8b2d6 100644 --- a/network/cisco/vcs/restapi/custom/xmlapi.pm +++ b/network/cisco/vcs/restapi/custom/xmlapi.pm @@ -142,6 +142,7 @@ sub get_endpoint { my $xml_result; eval { + $SIG{__WARN__} = sub {}; $xml_result = XMLin($content, ForceArray => $options{force_array}, KeyAttr => []); }; if ($@) {