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