summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/perl/lib/Dumpvalue.t
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/perl/lib/Dumpvalue.t')
-rw-r--r--gnu/usr.bin/perl/lib/Dumpvalue.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/lib/Dumpvalue.t b/gnu/usr.bin/perl/lib/Dumpvalue.t
index d1af109f603..b22b86d7321 100644
--- a/gnu/usr.bin/perl/lib/Dumpvalue.t
+++ b/gnu/usr.bin/perl/lib/Dumpvalue.t
@@ -7,6 +7,11 @@ BEGIN {
print "1..0 # skip: EBCDIC\n";
exit 0;
}
+ require Config;
+ if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
+ print "1..0 # Skip -- Perl configured without List::Util module\n";
+ exit 0;
+ }
}
use vars qw( $foo @bar %baz );