summaryrefslogtreecommitdiff
path: root/t/op/method.t
diff options
context:
space:
mode:
Diffstat (limited to 't/op/method.t')
-rwxr-xr-xt/op/method.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/op/method.t b/t/op/method.t
index d2f1300690..6e25310734 100755
--- a/t/op/method.t
+++ b/t/op/method.t
@@ -4,6 +4,11 @@
# test method calls and autoloading.
#
+BEGIN {
+ chdir 't' if -d 't';
+ unshift @INC, '../lib' if -d '../lib';
+}
+
print "1..53\n";
@A::ISA = 'B';