summaryrefslogtreecommitdiff
path: root/lib/dumpvar.t
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/dumpvar.t
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/dumpvar.t')
-rw-r--r--lib/dumpvar.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dumpvar.t b/lib/dumpvar.t
index eb0fe315c7..843ba1c056 100644
--- a/lib/dumpvar.t
+++ b/lib/dumpvar.t
@@ -4,7 +4,7 @@ BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
require Config;
- if (($Config::Config{'extensions'} !~ /\bList::Util\b/) ){
+ if (($Config::Config{'extensions'} !~ m!\bList/Util\b!) ){
print "1..0 # Skip -- Perl configured without List::Util module\n";
exit 0;
}