From: Brian Cassidy Date: Tue, 13 Nov 2007 20:13:40 +0000 (+0000) Subject: update is_supported with YAML::Syck version X-Git-Tag: v0.09_02~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=06fb16e20c0124f9d71f2089e8c9a1ab9d44883b;p=p5sagit%2FConfig-Any.git update is_supported with YAML::Syck version --- diff --git a/lib/Config/Any/YAML.pm b/lib/Config/Any/YAML.pm index 8a999b5..31f0e8a 100644 --- a/lib/Config/Any/YAML.pm +++ b/lib/Config/Any/YAML.pm @@ -61,7 +61,7 @@ Returns true if either L or L is available. =cut sub is_supported { - eval { require YAML::Syck; }; + eval { require YAML::Syck; YAML::Syck->VERSION( '0.70' ) }; return 1 unless $@; eval { require YAML; }; return $@ ? 0 : 1;