clean up after t/pod/plainer.t on Win32
[p5sagit/p5-mst-13.2.git] / t / pod / poderrs.t
index 8db7d43..1b92ede 100755 (executable)
@@ -1,7 +1,7 @@
 BEGIN {
-   use File::Basename;
-   my $THISDIR = dirname $0;
-   unshift @INC, $THISDIR;
+   chdir 't' if -d 't';
+   unshift @INC, '../lib';
+   unshift @INC, './pod';
    require "testpchk.pl";
    import TestPodChecker;
 }