X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fpod%2Flref.t;h=e367d6dd66cbb203d30433a34555494182725135;hb=4348140855c01942a6531a8decdfe1325fe36f8a;hp=02e2c9e3071af7db62731c89c5b2b3cf99fc9d37;hpb=360aca433d51a01ddd748b8606c6c288bdb2f7fc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/t/pod/lref.t b/t/pod/lref.t index 02e2c9e..e367d6d 100755 --- a/t/pod/lref.t +++ b/t/pod/lref.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; }