From 6ec3d6d91f6ce90d461014d9b0f9dc035741cf0c Mon Sep 17 00:00:00 2001 From: Slaven Rezic Date: Sat, 22 Feb 2020 14:32:27 +0100 Subject: [PATCH] make YAML load blessed objects again (RT #131699) --- Throttler.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/Throttler.pm b/Throttler.pm index ed0521c..2d62fb8 100644 --- a/Throttler.pm +++ b/Throttler.pm @@ -657,6 +657,7 @@ sub load { my($self) = @_; DEBUG "Loading YAML file $self->{db_file}"; + local $YAML::LoadBlessed = 1; return YAML::LoadFile( $self->{db_file} ); } -- 2.1.4