projects
/
p5sagit/Config-Any.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
48e4a26
)
update is_supported with YAML::Syck version
Brian Cassidy [Tue, 13 Nov 2007 20:13:40 +0000 (20:13 +0000)]
lib/Config/Any/YAML.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Config/Any/YAML.pm
b/lib/Config/Any/YAML.pm
index
8a999b5
..
31f0e8a
100644
(file)
--- a/
lib/Config/Any/YAML.pm
+++ b/
lib/Config/Any/YAML.pm
@@
-61,7
+61,7
@@
Returns true if either L<YAML::Syck> or L<YAML> 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;