summaryrefslogtreecommitdiff
path: root/lib/Tie
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafayette.edu>2004-06-24 11:09:47 -0400
committerNicholas Clark <nick@ccl4.org>2004-06-25 22:19:51 +0000
commit98641f606c65e71cca89f9a694e2796b5a21cbd8 (patch)
treec9607b6ebb0eb995e8cec0160a98bb5ab6362acf /lib/Tie
parent429b060a3290b7ecf98534144fcaf0fb46b2afe3 (diff)
downloadperl-98641f606c65e71cca89f9a694e2796b5a21cbd8.tar.gz
Correct detection of absent modules. Based on
Subject: [PATCH] Config{extensions} uses filesystem names as extensions Message-ID: <Pine.SOL.4.58.0406241505530.14039@maxwell.phys.lafayette.edu> with improvements from Marcus Holland-Moritz p4raw-id: //depot/perl@22998
Diffstat (limited to 'lib/Tie')
-rw-r--r--lib/Tie/RefHash.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Tie/RefHash.t b/lib/Tie/RefHash.t
index a855446f27..c0fad915f7 100644
--- a/lib/Tie/RefHash.t
+++ b/lib/Tie/RefHash.t
@@ -14,7 +14,7 @@ BEGIN {
@INC = '.';
push @INC, '../lib';
require Config;
- if (($Config::Config{'extensions'} !~ /\bData::Dumper\b/) ){
+ if (($Config::Config{'extensions'} !~ m!\bData/Dumper\b!) ){
print "1..0 # Skip -- Perl configured without Data::Dumper module\n";
exit 0;
}