Lots of spring cleaning. (No functional changes.)
[p5sagit/p5-mst-13.2.git] / t / pod / pod2usage.t
index cf2c31b..70cbacd 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 "testp2pt.pl";
    import TestPodIncPlainText;
 }