TT#17650 Switch to use YAML::XS instead of YAML

This module is more compliant and it is faster than the pure perl
implementation. The latter is also deprecated in favor of the former
(see man YAML for more details).

Change-Id: I3fccca4ab57ad7c316b6cf58a81bc4baa1bdabe1
changes/10/13810/2
Guillem Jover 9 years ago
parent 63ef57873a
commit 18e34ab6a6

4
debian/control vendored

@ -22,7 +22,7 @@ Build-Depends: asciidoc,
libsocket-perl,
libsys-hostname-long-perl,
libtemplate-perl,
libyaml-perl,
libyaml-libyaml-perl,
libyaml-tiny-perl,
netcat,
python3-pytest,
@ -51,7 +51,7 @@ Depends: etckeeper,
libsocket-perl,
libsys-hostname-long-perl,
libtemplate-perl,
libyaml-perl,
libyaml-libyaml-perl,
libyaml-tiny-perl,
netcat | netcat-traditional,
ngcp-system-tools,

@ -5,7 +5,7 @@
use strict;
use warnings;
use English;
use YAML qw/LoadFile/;
use YAML::XS qw(LoadFile);
use Template;
use Hash::Merge qw(merge);
use DBI;

@ -7,7 +7,7 @@ use POSIX qw( setsid );
use IO::Socket;
use Hash::Merge qw(merge);
use Template;
use YAML qw/LoadFile/;
use YAML::XS qw(LoadFile);
use Clone 'clone';
use Getopt::Long;

Loading…
Cancel
Save