More DWIMminess for Class::Struct: calling the array or hash
[p5sagit/p5-mst-13.2.git] / t / lib / u-minstr.t
index 12dc2fb..c000e78 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(minstr);