summaryrefslogtreecommitdiff
path: root/lib/warnings.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/warnings.t')
-rw-r--r--lib/warnings.t8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/warnings.t b/lib/warnings.t
index d03b8c52c7..ee696fe2a1 100644
--- a/lib/warnings.t
+++ b/lib/warnings.t
@@ -1,11 +1,7 @@
#!./perl
-BEGIN {
- chdir 't' if -d 't';
- @INC = '../lib';
- $ENV{PERL5LIB} = '../lib';
-}
+chdir 't' if -d 't';
+@INC = '../lib';
-our $pragma_name = "warnings";
our $UTF8 = (${^OPEN} || "") =~ /:utf8/;
require "../t/lib/common.pl";