summaryrefslogtreecommitdiff
path: root/lib/autouse.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/autouse.t')
-rw-r--r--lib/autouse.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/autouse.t b/lib/autouse.t
index bc8e401f6b..cc7c41a325 100644
--- a/lib/autouse.t
+++ b/lib/autouse.t
@@ -3,6 +3,11 @@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+ require Config;
+ if (($Config::Config{'extensions'} !~ /\bList::Util\b/) ){
+ print "1..0 # Skip -- Perl configured without List::Util module\n";
+ exit 0;
+ }
}
use Test;