p4raw-id: //depot/perl@23245
# 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' );
}