summaryrefslogtreecommitdiff
path: root/lib/ExtUtils/t/pod2man.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ExtUtils/t/pod2man.t')
-rw-r--r--lib/ExtUtils/t/pod2man.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/ExtUtils/t/pod2man.t b/lib/ExtUtils/t/pod2man.t
index 1632234b15..fa533bdcf0 100644
--- a/lib/ExtUtils/t/pod2man.t
+++ b/lib/ExtUtils/t/pod2man.t
@@ -1,5 +1,12 @@
#!/usr/bin/perl -w
+BEGIN {
+ if ($ENV{PERL_CORE}) {
+ chdir 't' if -d 't';
+ @INC = qw(../lib);
+ }
+}
+
# Test our simulation of pod2man
use strict;