This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Revert "Debugging GH #17671."
[perl5.git] / lib / vars_carp.t
CommitLineData
09e96b99
JC
1#!./perl
2
3# test that "use vars;" doesn't load Carp
4
5BEGIN {
6 chdir 't' if -d 't';
7 @INC = '../lib';
8 $ENV{PERL5LIB} = '../lib';
9}
10
11$| = 1;
12
13print "1..1\n";
14
b737a394 15use vars;
09e96b99
JC
16# Carp not loaded yet;
17print defined $Carp::VERSION ? "not ok 1\n" : "ok 1\n";