$hex is already hex, so cannot be used in %X if starting with [A-F]
[p5sagit/p5-mst-13.2.git] / lib / Shell.t
index 106cd2a..51f54a1 100644 (file)
@@ -1,8 +1,10 @@
 #!./perl
 
 BEGIN {
-    chdir 't' if -d 't';
-    @INC = '../lib';
+    if( $ENV{PERL_CORE} ) {
+       chdir 't' if -d 't';
+       @INC = '../lib';
+    }
 }
 
 use Test::More tests => 7;