]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
work around silly warning
authorJoey Hess <joey@gnu.kitenet.net>
Wed, 24 Mar 2010 20:40:37 +0000 (16:40 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Wed, 24 Mar 2010 20:40:37 +0000 (16:40 -0400)
ikiwiki.in

index b62962ad8892841b9c28b0c649345514e493f5e1..38e4d320164ab40aed682ece22c3bdfd1aed8d34 100755 (executable)
@@ -103,8 +103,8 @@ sub getconfig () {
                                }
                                eval q{use YAML::Any};
                                eval q{use YAML} if $@;
-                               $YAML::Syck::ImplicitUnicode=1;
                                die $@ if $@;
+                               eval q{$YAML::Syck::ImplicitUnicode=1};
                                $config{$var}=Load($val."\n");
                        },
                        "version" => sub {