fix PodParser testsuite; Pod::Text subsumes Pod::PlainText
[p5sagit/p5-mst-13.2.git] / t / pod / for.t
index 44af44f..b8a6ec5 100755 (executable)
@@ -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;
 }