mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-23 13:45:18 +02:00
change perl dep (#2595)
This commit is contained in:
parent
beb682cac8
commit
4d01712e2c
@ -26,7 +26,7 @@ use strict;
|
||||
use warnings;
|
||||
use centreon::plugins::http;
|
||||
use centreon::plugins::statefile;
|
||||
use XML::Simple;
|
||||
use XML::LibXML::Simple;
|
||||
use Digest::MD5 qw(md5_hex);
|
||||
|
||||
sub new {
|
||||
@ -198,6 +198,7 @@ sub request_api {
|
||||
|
||||
my $result;
|
||||
eval {
|
||||
$SIG{__WARN__} = sub {};
|
||||
$result = XMLin($content, ForceArray => $options{ForceArray}, KeyAttr => []);
|
||||
};
|
||||
if ($@) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user