summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2004-06-22 09:56:59 +0000
committerNicholas Clark <nick@ccl4.org>2004-06-22 09:56:59 +0000
commitb5cc9730721234f703470e46d73591d9849c4cd0 (patch)
treee751c212aff1087a16597b53bef405e1a47623ca /lib
parent763a0d2122c8fd573fe9eed4086d4716ae928428 (diff)
downloadperl-b5cc9730721234f703470e46d73591d9849c4cd0.tar.gz
Skip test if Data::Dumper not built
p4raw-id: //depot/perl@22966
Diffstat (limited to 'lib')
-rw-r--r--lib/Tie/RefHash.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Tie/RefHash.t b/lib/Tie/RefHash.t
index 55fde141a0..a855446f27 100644
--- a/lib/Tie/RefHash.t
+++ b/lib/Tie/RefHash.t
@@ -13,6 +13,11 @@ BEGIN {
chdir 't' if -d 't';
@INC = '.';
push @INC, '../lib';
+ require Config;
+ if (($Config::Config{'extensions'} !~ /\bData::Dumper\b/) ){
+ print "1..0 # Skip -- Perl configured without Data::Dumper module\n";
+ exit 0;
+ }
}
use strict;