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