summaryrefslogtreecommitdiff
path: root/t/op/tr.t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1998-12-21 14:18:57 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1998-12-21 14:18:57 +0000
commit4e2c63610f74400f174dcfe702ef37ee29cf723b (patch)
tree3cc657ae6b62b9aae0ce9a0f8fafe597d9bcb1db /t/op/tr.t
parentfc7eeb6b14eda6357f73c99cc4237ef3f548c453 (diff)
downloadperl-4e2c63610f74400f174dcfe702ef37ee29cf723b.tar.gz
Change #2483 update.
p4raw-id: //depot/cfgperl@2497
Diffstat (limited to 't/op/tr.t')
-rwxr-xr-xt/op/tr.t6
1 files changed, 4 insertions, 2 deletions
diff --git a/t/op/tr.t b/t/op/tr.t
index aa1f9b2ef2..4e6667cd7f 100755
--- a/t/op/tr.t
+++ b/t/op/tr.t
@@ -1,7 +1,9 @@
# tr.t
-chdir 't' if -d 't';
-@INC = "../lib";
+BEGIN {
+ chdir 't' if -d 't';
+ unshift @INC, "../lib";
+}
print "1..4\n";