This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
lib/Unicode/UCD.t @INC oddity
[perl5.git] / lib / Unicode / UCD.t
index e70e104..1bed138 100644 (file)
@@ -1,14 +1,14 @@
-use Unicode::UCD;
-
-use strict;
-
 BEGIN {
     if (ord("A") == 193) {
        print "1..0 # Skip: EBCDIC\n";
        exit 0;
     }
+    chdir 't' if -d 't';
+    @INC = '../lib';
 }
 
+use strict;
+use Unicode::UCD;
 use Test;
 
 BEGIN { plan tests => 162 };