diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2010-03-24 14:30:38 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2010-03-24 14:30:38 -0400 |
commit | 271449062a2a3fa897aff7f5bb40d6b5da06a1a8 (patch) | |
tree | dbd0e4604f78fb923f9e09921beef2c9e8aa7dbc | |
parent | 27f1e77bc6ff74f1760a4fdb9e174c77ea4698ea (diff) | |
download | ikiwiki-271449062a2a3fa897aff7f5bb40d6b5da06a1a8.tar ikiwiki-271449062a2a3fa897aff7f5bb40d6b5da06a1a8.tar.gz |
use YAML::Any to allow faster versions to be used if available
-rw-r--r-- | IkiWiki/Setup/Yaml.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/IkiWiki/Setup/Yaml.pm b/IkiWiki/Setup/Yaml.pm index 0fc273675..58cba4222 100644 --- a/IkiWiki/Setup/Yaml.pm +++ b/IkiWiki/Setup/Yaml.pm @@ -10,7 +10,7 @@ sub loaddump ($$) { my $class=shift; my $content=shift; - eval q{use YAML}; + eval q{use YAML::Any}; die $@ if $@; IkiWiki::Setup::merge(Load($content)); } @@ -18,7 +18,7 @@ sub loaddump ($$) { sub gendump ($@) { my $class=shift; - eval q{use YAML}; + eval q{use YAML::Any}; die $@ if $@; "# IkiWiki::Setup::Yaml - YAML formatted setup file", |