summaryrefslogtreecommitdiff
path: root/t/io
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-13 21:29:15 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-13 21:29:15 +0000
commit9f1b1f2d9ab55954ee07a14c4ab04bd3dd1f99d5 (patch)
treef3e99c675e49f21e2edc6600cd4c0b10b14c41d5 /t/io
parent828c4421567f1da54062ec5edfcc3250be409b16 (diff)
downloadperl-9f1b1f2d9ab55954ee07a14c4ab04bd3dd1f99d5.tar.gz
lexical warnings update for docs and tests (from Paul Marquess)
p4raw-id: //depot/perl@5712
Diffstat (limited to 't/io')
-rwxr-xr-xt/io/open.t7
1 files changed, 6 insertions, 1 deletions
diff --git a/t/io/open.t b/t/io/open.t
index 531fc85ce3..30db5988b6 100755
--- a/t/io/open.t
+++ b/t/io/open.t
@@ -1,8 +1,13 @@
#!./perl
+BEGIN {
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+}
+
# $RCSfile$
$| = 1;
-$^W = 1;
+use warnings;
$Is_VMS = $^O eq 'VMS';
print "1..66\n";