diff options
Diffstat (limited to 'ext/B/t/optree_check.t')
-rw-r--r-- | ext/B/t/optree_check.t | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/B/t/optree_check.t b/ext/B/t/optree_check.t index e9f6d1e8bf..6150cce07d 100644 --- a/ext/B/t/optree_check.t +++ b/ext/B/t/optree_check.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } require './test.pl'; } |