diff options
Diffstat (limited to 't/pod/for.t')
-rwxr-xr-x | t/pod/for.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/pod/for.t b/t/pod/for.t index b8a6ec5c73..44af44f17d 100755 --- a/t/pod/for.t +++ b/t/pod/for.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; } |