This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clean up temp files/dirs left by Archive-Tar tests
[perl5.git] / lib / autouse.t
index bc8e401..2c52f42 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;
+    }
 }
 
 use Test;