summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-06-12 22:01:26 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-06-12 22:01:26 +0000
commite86bb1915fd774005119454bae6bba1a570dd876 (patch)
tree8053e2b6762e79d0ec935edd013a56d4e67080f1 /t
parent3a3168fb0c65a23cc61dcac4465cd4c5599a5e39 (diff)
parent73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6 (diff)
downloadperl-e86bb1915fd774005119454bae6bba1a570dd876.tar.gz
Integrate from mainperl.
p4raw-id: //depot/cfgperl@3538
Diffstat (limited to 't')
-rwxr-xr-xt/io/fs.t7
1 files changed, 5 insertions, 2 deletions
diff --git a/t/io/fs.t b/t/io/fs.t
index b92ef8eccd..b74c9caf9d 100755
--- a/t/io/fs.t
+++ b/t/io/fs.t
@@ -142,8 +142,11 @@ else {
if (-z "Iofs.tmp") {print "ok 24\n"} else {print "not ok 24\n"}
open(FH, ">Iofs.tmp") or die "Can't create Iofs.tmp";
{ select FH; $| = 1; select STDOUT }
- print FH "helloworld\n";
- truncate FH, 5;
+ {
+ use strict;
+ print FH "helloworld\n";
+ truncate FH, 5;
+ }
if ($^O eq 'dos') {
close (FH); open (FH, ">>Iofs.tmp") or die "Can't reopen Iofs.tmp";
}