summaryrefslogtreecommitdiff
path: root/lib/Dumpvalue.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Dumpvalue.t')
-rw-r--r--lib/Dumpvalue.t5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Dumpvalue.t b/lib/Dumpvalue.t
index b22b86d732..8eb70a34b8 100644
--- a/lib/Dumpvalue.t
+++ b/lib/Dumpvalue.t
@@ -205,7 +205,10 @@ is( $out->read, "\$_<foo = 1\n", 'dumped glob for $_<foo correctly (DB)' );
# test CvGV name
SKIP: {
- skip( 'no Devel::Peek', 1 ) unless use_ok( 'Devel::Peek' );
+ if (" $Config::Config{'extensions'} " !~ m[ Devel/Peek ]) {
+ skip( 'no Devel::Peek', 2 );
+ }
+ use_ok( 'Devel::Peek' );
is( $d->CvGV_name(\&TieOut::read), 'TieOut::read', 'CvGV_name found sub' );
}