summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/lib/dumpvar.t
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-08-09 17:48:49 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-08-09 17:48:49 +0000
commit069768bdb70fb3052599d3e70898a0ed0e1c31d2 (patch)
tree1492d59179e2c9b07cb6c6754f78a3ef6e608e68 /gnu/usr.bin/perl/lib/dumpvar.t
parentf2ebe24544ebe30f7ed499fda280dce09361f966 (diff)
Import of stock perl 5.8.5
Diffstat (limited to 'gnu/usr.bin/perl/lib/dumpvar.t')
-rw-r--r--gnu/usr.bin/perl/lib/dumpvar.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/lib/dumpvar.t b/gnu/usr.bin/perl/lib/dumpvar.t
index f13bcee9aca..843ba1c0563 100644
--- a/gnu/usr.bin/perl/lib/dumpvar.t
+++ b/gnu/usr.bin/perl/lib/dumpvar.t
@@ -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 strict;