Re: [perl #37688] Unexpected regex failure.
[p5sagit/p5-mst-13.2.git] / t / pod / pod2usage.t
index 70cbacd..cf2c31b 100755 (executable)
@@ -1,7 +1,7 @@
 BEGIN {
-   chdir 't' if -d 't';
-   unshift @INC, '../lib';
-   unshift @INC, './pod';
+   use File::Basename;
+   my $THISDIR = dirname $0;
+   unshift @INC, $THISDIR;
    require "testp2pt.pl";
    import TestPodIncPlainText;
 }