diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2014-03-03 12:16:21 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@schwinge.name> | 2014-03-09 17:21:22 +0100 |
commit | 178b9e4a14e8ea6fa415c3c36461e41da8434694 (patch) | |
tree | 6f374ae5a34bef4bd8aeccc71f6f7c589216ce42 /.library | |
parent | dcf0b805773f06ec5fb01cac145ee75dce1cd4d6 (diff) |
ymlfront: Force use of YAML::Syck.
Diffstat (limited to '.library')
-rw-r--r-- | .library/IkiWiki/Plugin/ymlfront.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.library/IkiWiki/Plugin/ymlfront.pm b/.library/IkiWiki/Plugin/ymlfront.pm index 9c033833..cbd80e32 100644 --- a/.library/IkiWiki/Plugin/ymlfront.pm +++ b/.library/IkiWiki/Plugin/ymlfront.pm @@ -20,7 +20,7 @@ our $VERSION = '1.20101116'; IkiWiki IkiWiki::Plugin::field - YAML::Any + YAML::Syck =head1 AUTHOR @@ -95,11 +95,12 @@ sub getsetup () { } sub checkconfig () { - eval q{use YAML::Any}; - eval q{use YAML} if $@; + # If installed, YAML::XS apparently is used by default -- but doesn't seem + # to work here. + eval q{use YAML::Syck}; if ($@) { - return error ("ymlfront: failed to use YAML::Any or YAML"); + return error ("ymlfront: failed to use YAML::Syck"); } $YAML::UseBlock = 1; |