eval require instead of use
[gitmo/MooseX-Storage.git] / t / 020_basic_yaml_syck.t
index 8def928..d94fcd2 100644 (file)
@@ -8,7 +8,7 @@ use Test::More;
 BEGIN {
     eval "use YAML::Any";
     plan skip_all => "YAML::Any is required for this test" if $@;
-    eval "use YAML::Syck";
+    eval "require YAML::Syck";
     plan skip_all => "YAML::Syck is required for this test" if $@;
     eval "require Test::Without::Module";
     plan skip_all => "Test::Without::Module is required for this test" if $@;