This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update $VERSION
[perl5.git] / lib / warnings.t
index 55e2794..7c24f3a 100644 (file)
@@ -1,10 +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";