sipb-www
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f1e77
)
use YAML::Any to allow faster versions to be used if available
author
Joey Hess
<joey@gnu.kitenet.net>
Wed, 24 Mar 2010 18:30:38 +0000
(14:30 -0400)
committer
Joey Hess
<joey@gnu.kitenet.net>
Wed, 24 Mar 2010 18:30:38 +0000
(14:30 -0400)
IkiWiki/Setup/Yaml.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Setup/Yaml.pm
b/IkiWiki/Setup/Yaml.pm
index 0fc2736756d73ba099b27961a2772a769731b204..58cba4222e95517248853991bc3ebaa4e808e1bd 100644
(file)
--- 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",