diff --git a/Build.PL b/Build.PL index f5768a2..d92ffac 100644 --- a/Build.PL +++ b/Build.PL @@ -33,7 +33,6 @@ my $builder = Module::Build->new( 'Data::Validate::IP' => 0, 'Config::Any' => 0, - 'YAML::Tiny' => 0, 'Log::Log4Perl' => 0, 'MIME::Base64' => 0, 'MIME::Lite' => 0, diff --git a/debian/control b/debian/control index d82f845..61fb276 100644 --- a/debian/control +++ b/debian/control @@ -60,7 +60,6 @@ Depends: libxml-dumper-perl, libxml-libxml-perl, libyaml-libyaml-perl, - libyaml-tiny-perl, perl, ${misc:Depends}, ${perl:Depends}, diff --git a/lib/NGCP/BulkProcessor/LoadConfig.pm b/lib/NGCP/BulkProcessor/LoadConfig.pm index 77a55b4..9fd90c8 100644 --- a/lib/NGCP/BulkProcessor/LoadConfig.pm +++ b/lib/NGCP/BulkProcessor/LoadConfig.pm @@ -28,7 +28,7 @@ use NGCP::BulkProcessor::LogError qw( configurationerror ); -use YAML::Tiny qw(); +use YAML::XS qw(); use Config::Any qw(); use NGCP::BulkProcessor::Utils qw(format_number trim); @@ -254,7 +254,7 @@ sub _parse_yaml_config { my $config = undef; eval { - $config = YAML::Tiny->read($file); + $config = YAML::XS::LoadFile($file); }; if ($@) { configurationerror($file,'parsing yaml format - error: ' . $@,getlogger(__PACKAGE__));