This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Bump version numbers
[perl5.git] / lib / overload.t
index 669b4bc..4184e23 100644 (file)
@@ -3,6 +3,11 @@
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
+    require Config;
+    if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+       print "1..0 # Skip -- Perl configured without List::Util module\n";
+       exit 0;
+    }
 }
 
 package Oscalar;