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