aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2023-09-23 12:07:37 +0100
committerdakkar <dakkar@thenautilus.net>2023-09-23 12:07:37 +0100
commitb0200969e786a17833087ca7446d63d909ff2596 (patch)
treec1d02f1c1df0e2b47a325b9739221e34e348838d /lib
parentadd `video` directive (diff)
downloadWebCoso-master.tar.gz
WebCoso-master.tar.bz2
WebCoso-master.zip
fix for newer YAMLHEADmaster
Diffstat (limited to 'lib')
-rw-r--r--lib/WebCoso/Maker.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/WebCoso/Maker.pm b/lib/WebCoso/Maker.pm
index 35dc41f..5a6f20d 100644
--- a/lib/WebCoso/Maker.pm
+++ b/lib/WebCoso/Maker.pm
@@ -6,7 +6,7 @@ use File::Next;
use Path::Class;
use File::Cache::Parsed;
use Cwd 'abs_path';
-use YAML::Syck;
+use YAML;
use WebCoso::Common;
use WebCoso::TT;
use WebCoso::XSLT;
@@ -15,7 +15,7 @@ use Log::Log4perl ':easy';
my $fc=File::Cache::Parsed->new(follow=>1);
$fc->add_parser(qr{\.ya?ml$} =>
- sub { Load($_[1]) });
+ sub { local $YAML::LoadBlessed=1; Load($_[1]) });
$fc->add_writer(qr{\.ya?ml$} =>
sub { DumpFile($_[0],$_[1]) });