use YAML::Any to allow faster versions to be used if available

master
Joey Hess 2010-03-24 14:30:38 -04:00
parent 27f1e77bc6
commit 271449062a
1 changed files with 2 additions and 2 deletions

View File

@ -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",