More DWIMminess for Class::Struct: calling the array or hash
[p5sagit/p5-mst-13.2.git] / t / lib / u-reduce.t
index d00dea1..063e0b7 100755 (executable)
@@ -1,6 +1,11 @@
 BEGIN {
        chdir 't' if -d 't';
        @INC = '../lib';
+       require Config; import Config;
+       if ($Config{extensions} !~ /\bList\/Util\b/) {
+           print "1..0 # Skip: List::Util was not built\n";
+           exit 0;
+       }
 }
 
 use List::Util qw(reduce min);