summaryrefslogtreecommitdiff
path: root/lib/Text/Balanced/t/extdel.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Text/Balanced/t/extdel.t')
-rw-r--r--lib/Text/Balanced/t/extdel.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Text/Balanced/t/extdel.t b/lib/Text/Balanced/t/extdel.t
index c5ca88eebf..6db547f43a 100644
--- a/lib/Text/Balanced/t/extdel.t
+++ b/lib/Text/Balanced/t/extdel.t
@@ -1,3 +1,10 @@
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir('t') if -d 't';
+ @INC = qw(../lib);
+ }
+}
+
# Before `make install' is performed this script should be runnable with
# `make test'. After `make install' it should work as `perl test.pl'