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