summaryrefslogtreecommitdiff
path: root/t/pod/lref.t
diff options
context:
space:
mode:
Diffstat (limited to 't/pod/lref.t')
-rwxr-xr-xt/pod/lref.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/pod/lref.t b/t/pod/lref.t
index 02e2c9e307..e367d6dd66 100755
--- a/t/pod/lref.t
+++ b/t/pod/lref.t
@@ -1,7 +1,7 @@
+#!./perl
BEGIN {
- use File::Basename;
- my $THISDIR = dirname $0;
- unshift @INC, $THISDIR;
+ chdir 't' if -d 't';
+ unshift @INC, './pod', '../lib';
require "testp2pt.pl";
import TestPodIncPlainText;
}